Jump to content

[Solved] 404 with Friendly URL


Recommended Posts

Hello again,

 

I come today with a brand new problem :D 
I have a new server, OVH VPS 2014 with Lamp 1.0 64 Bits installed on it. I transfered the website, the database, configured everything etc ... I'm on PS 1.6

 

Front office if working ok, same with back office, the only problem is when I click on a link on the front office page I have a beautiful :

Not Found

The requested URL /13-bain was not found on this server.

Having so many problem recently, I knew where it came from. I went into SEO/URL, disabled Friendly URL and it worked again !

But I want to be able to use Friendly URL
What I checked and did already :

 

- Delete .htaccess and regenerate (OFF/ON Friendly URL)

- Disable Apache Multiviews

- Disable Canonical Redirection

- Disable mod_security

- Empty cache

- Every file on CHMOD 777 (I know it's not safe, it's for testing purposes)

- mod_rewrite is activated on the server, the rewrite works, it just doesn't find the file.

You can see the problem by yourself here :

 

http://vps84033.ovh.net/

Any help is welcome :P

 

Thanks

 

Templar

Edited by Templar77400 (see edit history)
Link to comment
Share on other sites

Just found a solution here !

http://support.severalnines.com/entries/23154162-Enable-AllowOverride-for-Apache

 

You need to set "AllowOverride All"

If you are on Ubuntu/Debian, edit this file :  /etc/apache2/sites-available/default

Locate this :

 <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

And change AllowOverride None to AllowOverride All !

Don't forget to restart apache

 /etc/init.d/apache2 restart

This file can be different from a configuration to another (it can be httpd.conf or another one depending on your OS)

 

:D

Edited by Templar77400 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...