PDA

View Full Version : not works with "Enable URL rewrite"


combinacion
07-12-2005, 01:39 PM
Hello

I have a problem, when i activate "Enable URL rewrite", the script change the dir/index.php?c=1 with dir/section/

This is ok, but when i try to access "dir/section/" the directory does not exists...

What's the problem? Is it the script who create directory or may i create it?

Ap0s7le
07-12-2005, 06:39 PM
Hello combinacion,

The directory doesn't exist, the server takes a request such as

'/dir/section/'

and converts it to

'/dir/index.php?c=1'

behind the scenes, thus making it search engine friendly.

What kind of webserver are you on? Have you contacted their tech support about mod_rewrite?

Thank you for your time.

Dariusz
07-12-2005, 10:56 PM
Content visible to registered users only.
I have similar problem. I have contacted tech support and they say that there is a clean, full install of the mod_rewrite on the server and that must be a problem on a script side.

Ap0s7le
07-12-2005, 10:59 PM
Hello,

Is the .htaccess in place?

Should look like this.

Content visible to registered users only.

Thank you

combinacion
07-13-2005, 10:53 AM
Yes, i have the .htaccess in the directory, and enabled mod_rewrite


I finally found the problem, in httpd.conf change:

AllowOverride None

For:

AllowOverride FileInfo

"AllowOverride" is the directive that enable and control the .htaccess

c u