All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
369 views

lighttpd security without htaccess

I have a webserver with limited resources and therefore I decided to use lighttpd as my webserver software. However, I notice now that it does not recognizes apache .htaccess files. Most of the ...
Thom's user avatar
  • 41
0 votes
1 answer
1k views

Implement apache equivalent mod_rewrite functionality in lighttpd

Here's the mod_rewrite .htaccess file which is meant to work on Apache Servers for my web-app RewriteEngine On RewriteBase /cs200/tokens/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...
Titanoboa's user avatar
  • 101
0 votes
1 answer
228 views

Lighttpd: How to migrate a rewrite rule?

i'm using this htaccess rule on a apache: RewriteEngine on RewriteCond %{HTTP_REFERER} example\.com [NC] RewriteRule .* - [F] .. and i would convert it to an lighttpd rewrite rule. How can i do this?...
hazelnut's user avatar
0 votes
1 answer
1k views

convert lighttpd to nginx rewrite rules

I'm trying hard to make my code work on nginx. This configuration works with lighttpd but I want migrate it to nginx. Rewrite rules on lighttd : url.rewrite-once = ( "^/(ui)/(.*)$" => "/gi.php/$...
user3355434's user avatar
1 vote
1 answer
751 views

Rewrite rules for Anchor CMS on Lighttpd

I installed Anchor CMS on my server running Lighttpd, and I am trying to setup pretty url's. I have anchor installed in a sub-directory "/blog". The htaccess file that works with anchor cms in ...
meskarune's user avatar
  • 131
0 votes
2 answers
1k views

Lighttpd: htaccess protection does not work

i have tried to setup an htaccess protection of an file from my website. i have pasted the following code into the 05-auth.conf $HTTP["url"] =~ "^/www/hosts/domain" { auth.backend = "htpasswd" auth....
hazelnut's user avatar
0 votes
1 answer
361 views

Apache2 .htaccess rewrite rule to Lighttpd

could you help me to convert this rewrite rule from apache2 to lighttpd RewriteEngine on RewriteBase / RewriteCond %{HTTP_REFERER} !^http://my-site\.net/ [NC] RewriteCond %{HTTP_REFERER} !^http://www\...
Chris's user avatar
  • 113
1 vote
1 answer
2k views

Covert mod-rewrite to lighttpd for lessn url shortener

I am trying to use lessn, a url shortener by Shaun Inman, on my lighttpd server and he uses a .htaccess file for the redirect. I am not very good with Mod_Rewrite isn the first place otherwise some ...
Jonathan Kratzke's user avatar
1 vote
1 answer
3k views

Lighttpd: htpasswd protection

i would use an htpasswd protection for an folder of my website. I use lighttpd an i have write the following code into the lighttpd.conf # Limit access to ispgen auth.backend = "htpasswd" auth....
hazelnut's user avatar
1 vote
1 answer
3k views

How to convert this .htaccess for LIGHTTPD?

I have this .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] How can I convert it to run my website through Lighttpd ? Thank you so much!
user avatar
9 votes
3 answers
13k views

Limit upload file size and redirect user to error page if limit exceeds

Is it possible to redirect user to file file too big page when POST request size exceeds specified limit? I am aware about max-request-size option, but it gives just static page that cannot be ...
jonny's user avatar
  • 357
0 votes
1 answer
1k views

How to: Zend .htaccess Lighttpd conversion

We are using Zend Framework, we switched from apache to lighttpd, main htaccess file for zend is this: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ...
Devrim's user avatar
  • 1,187