Apache setting

azrad

Not-so-junior Member
anyone has ever tried using .htaccess for mod_rewrite feature?

well last time my apache (runs on my ibook) allows me use such feature... after i upgraded to Panther the feature does not work anymore... anyone have any idea what should i do? i think it has to do with http.conf file...

anyone?

thank you...
 
Not sure what the mod_rewrite does? Have you checked that there isn't a corresponding LoadModule line in the httpd.conf file?
 
Is it a standard module that is just disabled by default? or did you have to install a module, and enable it in httpd.conf?
 
Pengu,
we have to enable it in the httpd.conf file..

uoba,
i have enable it. i think it has to with the AllowOverride things in the httpd.conf file... can't remember how did i do it to enable the feature last time...
 
It does mention in the link I provided that it works along with .htaccess. Therefore you'd have to have AllowOveride set to All I presume.

Apart from this, I'm not too hot on configuring httpd for .htaccess files (off the top of my head anyhow).
 
uoba said:
...Therefore you'd have to have AllowOveride set to All I presume.
You need to be VERY carfull setting AllowOverride to ALL because they you can cause all kinds of greif (security and otherwise).

Always stick to only what you need... In this case AllowOverride FileInfo is sufficient for most of the mod_rewite Directives.

Note the Apache documetnation is very explicit. Each Directive clearly states which overrides are necessary for it to be used in .htaccess.
 
i managed to get the thing run again... as for security, i just run apache on my ibook... i didn't share it with others... :)

i will try to use AllowOverride FileInfo for the setting and let you guys now the result...

thanks all...
 
Back
Top