Apache oxwall.htaccess

Apache oxwall.htaccess,apache,.htaccess,mod-rewrite,oxwall,Apache,.htaccess,Mod Rewrite,Oxwall,这是我的.htaccess文件 Options +FollowSymLinks RewriteEngine On AddEncoding gzip .gz AddEncoding gzip .gzip <FilesMatch "\.(js.gz|js.gzip)$"> ForceType text/javascript </FilesMatch> <FilesMatch "\.(css.gz|css.gzip)$"> ForceType text/c

这是我的.htaccess文件

Options +FollowSymLinks
RewriteEngine On

AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
  ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
  ForceType text/css
</FilesMatch>

RewriteCond %{REQUEST_URI} .*/http-bind
RewriteRule (.*) /http-bind [L]

RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
Options+FollowSymLinks
重新启动发动机
AddEncoding gzip.gz
AddEncoding gzip.gzip
ForceType文本/javascript
强制类型文本/css
重写cond%{REQUEST_URI}.*/http绑定
重写规则(.*)/http绑定[L]
重写cond%{REQUEST_URI}^/索引\.php
重写cond%{REQUEST_URI}/OWU更新/索引\.php
重写cond%{REQUEST_URI}/ow_更新/
重写cond%{REQUEST_URI}/ow_cron/run\.php
重写cond%{REQUEST|u URI}(/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$[NC]
重写规则(.*)index.php
Oxwall版本1.4.1。当我浏览到localhost时,它会将我重定向到localhost/install/requirements/并显示消息-在该服务器上找不到请求的URL/install/requirements。 当我浏览到localhost/index.php时,安装开始,但安装后oxwall无法正常工作。

“在此服务器上找不到请求的URL/install/requirements。”

我想你需要先进入你的服务器

  • 在web服务器中启用mod_重写
  • 将Oxwall文件和文件夹保存在web根目录中
  • 请尝试使用以下url:localhost/install

  • 这对我适用。

    哪种软件的“版本1.4.1”?Apache?我认为问题出在.htaccess文件中。如果它是Oxwall默认的.htaccess,它适用于许多其他用户,那么它不可能是问题所在……是的。这是默认值。我总是对.htaccess文件有问题。我检查了httpd.conf,发现mod_rewrite从未在
    httpd.conf
    中启用过
    mod_rewrite
    的Apache版本。应该存在一个符号链接:
    /etc/apache2/mods enabled/rewrite.load->../mods available/rewrite.load
    ;如果不使用
    sudo a2enmod来启用该mod,请重写
    。如果您在编写时总是遇到
    .htaccess
    文件的问题,那么您确实应该首先检查服务器设置。还要检查Apache
    error.log
    。我发现了问题。我将AllowOverride None更改为AllowOverride All