robvds
By:
robvds

Friendly URL's are not working

November 6, 2013 1.4k views
I put my website in the www folder, but the friendly url's are not working anymore. How to solve?
4 Answers
Are you running a WordPress site?
No, I'm running a opencart website
I changed AllowOveride to All, but when I change
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


allowoverride all, then the site is not loading anymore.

Full file:

ServerAdmin webmaster@localhost

DocumentRoot /var/www

Options FollowSymLinks
AllowOverride All


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all


ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

Alias /doc/ "/usr/share/doc/"

Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128



"I put my website in the www folder..."

Is this a new install or did you move your site to the www folder from a different directory?
Have another answer? Share your knowledge.