Rewrite with lighttpd |
Hello.
I am just trying to get my rewrites running with lighttpd but I still get 404 when trying to access sitename.com/page.html This is my apache rewrite that worked Code: RewriteEngine on This is my lighttpd config for the vhost for my internal testserver Code: # This is a minimal example config I also tried to have the rewrite rule inside $http["host"]... What am I doing wrong? My lighttpd version is 1.4.35
are you going to sitename.com/page.html ? I think you have to navigate to sitename.com/page
maybe with apache the .html extension is configured to execute it as php but not in you lighttpd. But you dont answered if it work without the extension...
Can someone please tell?
I need the links to be .html and I have config flag set to 'html', when I remove html from the links, it works, so somehow this flag is ignored...
Maybe you have to remap html to php in lighttpd?
http://www.cyberciti.biz/tips/lighttpd-m...s-php.html (01-29-2015, 05:30 PM)Narf Wrote:(01-29-2015, 08:45 AM)mindphuk Wrote: Can someone please tell? Its the same setting that worked on apache, I didn't change the config. I will try if its the remapping in lighttpd |
Welcome Guest, Not a member yet? Register Sign In |