We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Error in .htaccess | Forum

James
James Apr 20 '15
I noticed that the htaccess I got with my installation of 1.7.3 has an error in it. It was missing the "RewriteBase /" line.
ross Team
ross Apr 20 '15
There was no such a line. The default htaccess file looks like that:


Options +FollowSymLinksRewriteEngine On
AddEncoding gzip .gzAddEncoding gzip .gzip<FilesMatch "\.(js.gz|js.gzip)$">  ForceType text/javascript</FilesMatch><FilesMatch "\.(css.gz|css.gzip)$">  ForceType text/css</FilesMatch>

RewriteCond %{REQUEST_URI} !^/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/RewriteCond %{REQUEST_URI} !/ow_cron/run\.phpRewriteCond %{REQUEST_URI} !/e500\.php#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]RewriteRule (.*) index.php


James
James Apr 20 '15
I know, but it requires that line to be able to work properly.
ross Team
ross Apr 21 '15
If your server requires RewriteBase /  that means that your server is not properly configured and does not meet our requirements, mod_rewrite is not configured properly or has not been installed/enabled