All Questions
12
questions
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 ...
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 %{...
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?...
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/$...
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 ...
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....
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\...
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 ...
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....
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!
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 ...
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
...