Jump to content

httpd to lighttpd rewrite rules?


Lukeidiot

Recommended Posts

Hello,

 

I have the following httpd (.htaccess) rules that I would like converted to work with lighttpd rules.

 

 

RewriteEngine On
 
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
 
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

 

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/286599-httpd-to-lighttpd-rewrite-rules/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.