Hi If I put a .htaccess file in my document root I get 500 server errors. If I take it out then the website shows but does not work correctly. Can someone tell me if I need to configure something in apache to enable .htaccess files. I am really stuck as my script needs .htaccess to run SEO friendly URL's Thank you dalem
have you tryed a empty htaccess file? cuz seo friendly urls needs to have mod_rewrite enabled in apache.
Hi jawn Thanks for reply I tried an empty .htaccess file in my document root as suggested, there are no error 500 messages now but obviously the website doesn't work correctly. I looked in httpd.conf and the only reference to mod_rewrite is in the following line: #LoadModule rewrite_module modules/mod_rewrite.so Do I have to take off the "#" for mod_rewrite to work ? Dalem
I replaced the .htaccess with the original configuration. I removed the "#" from the following line in http.conf #LoadModule rewrite_module modules/mod_rewrite.so Now I don't get any server 500 errors but the wesite still doesn't work correctly. It seems the SEF URL's part of it still isn't functioning. ( Sorry but apache config is not my strong point ) dalem
Glad its sorted.. But I am still wondering about my question though.. Cos I have same problem with my local apache.. I could not get the mod_rewrite to work..
Excuse me hasbehas... Yes it's on a local machine. I have run my own server from home for over a year now. It's only lately that I have used SEF URL's. There was a commented line in httpd.conf ... all I did was un-comment it, re-started apache and it worked fine afterwards. dalem
I have apache (easyphp actualy) on my home computer, for designing new sites, or altering sites.. I use hosting companies for hosting after completion. I have also uncommented #LoadModule rewrite_module modules/mod_rewrite.so resarted apache.. sef urls wouldnt work.. I was wondering if you've done anything else...
I have figured it myself, I had to enable htaccess in apache config. Allow override All , That was all..