Rewriting URLs won'twork

Seweryn

New member
Joined
Jul 17, 2013
Messages
2
Hi there,

I'm attempting to apply a sample URL rewrite into an old script, but for some reason it will not work at all and the access URL always stays the same.

I have checked apache enabled modules with httpd -M and it returns
rewrite_module (static) as loaded.

My .htaccess file:
Code:
Options +SymlinksIfOwnerMatch
RewriteEngine On
RewriteRule ^haslo.html$ index.php?page=password_recovery [L]

It just won't work at all, the URL remains at index.php?page=password_recovery, seems like the server ignores the rule completly.
Above .htaccess's uploaded into the root directory of the domain (public_html).

Any help will be much appreciated.
Seweryn.
 
I've moved your thread; it's not got anything to do with CentOS, which is the subforum under which you posted it. It's now posted as a user issue; perhaps one of our members will be able to see it and help you.

But note that we're a community of mostly hosting companies using the DirectAdmin control panel to run webservers. It's possible you can get better help elsewhere if you're not using DirectAdmin.

Jeff
 
I've moved your thread; it's not got anything to do with CentOS, which is the subforum under which you posted it. It's now posted as a user issue; perhaps one of our members will be able to see it and help you.

But note that we're a community of mostly hosting companies using the DirectAdmin control panel to run webservers. It's possible you can get better help elsewhere if you're not using DirectAdmin.

Jeff

I have posted here on the DA board, coz I'm using DA.
 
Back
Top