Jump to content

Good Security Practices


Dh42

Recommended Posts

  • 1 month later...

Hello,

 

I have an issue with SEO (URL rewrite) and securing HTACCESS on PS 1.5.3.1.

 

My "admin" is secured with htaccess.

htaccess is located in the "admin" directory.

htpasswd is located somewhere else.

 

Everything works fine when "friendly URL" is de-activated.

 

When I activate "friendly URL", then I cannot access the admin and I am redirected to "error 404".

 

It used to work fine with PS 1.5.0.17 but since I upgarded to 1.5.3.1 it doesn't work.

 

I tried several things like :

- reset cookies

- activating / deactivating frinedly url

 

I aslo noticed some changes in PS 1.5.3.1 :

- in settings.inc.php I have the line "define('_PS_DIRECTORY_', '/../../');"

- I don't understand this line : only one "/" should be enough since my site is located at root.

 

Any idea?

Any procedure to setup "friendly url" and htaccess together?

 

Best regards,

Link to comment
Share on other sites

Off the top of my head if they are related, but the dispatcher.php version in 1.5.3.1 has a few bugs in it. Look on the git and get the fixed version. Sorry I don't have a link, but I know there is an updated fix on it.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

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...