Posted by kohkindachi, 11-03-2011, 11:19 PM | Hey guys, (1) how do i check if mod_rewrite is enabled/installed in my lighttpd server? If not, how do i enable it?
(2) How do I add this htaccess code to lighttpd?
Thanks alot
|
Posted by Ilya74, 11-05-2011, 02:33 AM | There is another way to rewrites.
Try:
|
Posted by cptechie, 11-05-2011, 02:53 AM | Hello,
Lighttpd won't recognize the file .htaccess. You need to use special rewrite rules for lighttpd and include it in the configuration file.
|
Posted by Ilya74, 11-05-2011, 04:56 AM | Yes, it should be in config file, but rule which I gave should work.
|
Posted by kohkindachi, 11-05-2011, 10:56 PM | Thanks alot. But what about
RewriteBase /folder1
I want it for /folder1/ only.
Thanks bro
|
Posted by kohkindachi, 11-10-2011, 09:48 PM | no help at all?
|
Posted by 8088, 11-10-2011, 10:03 PM | It's all in the manual.
|
Posted by mattmackman, 12-28-2011, 03:41 AM | for all URLs in /instadir/ that are not index.php, dmoz.css, admin or img, do ...
url.rewrite-once = ( "^/instadir/(?!index\.php|dmoz\.css|admin|img).*" => "$0",
"^/instadir/([^?]*)(?:\?(.*))?" => "/instadir/index.php?area=browse&cat=$1&$2")
|
|
Add to Favourites
Print this Article |