Software :: Get Per Directory Configuration In Lighttpd Aka Htaccess?

Aug 17, 2010

the questions is how to get per directory config working for lighttpd? so far from googling i've seen people trying to use conditionals to match certain rules for a vhost , but i don't think that messing around with the main config file for each directory/vhost/whatever is such a good idea.

More importantly , i'm looking for a standardized method to achieve this which would work by simple putting an htaccess-like file into a directory and do the magic. i'm not interested in maintaining apache htaccess syntax , only to get the per directory config to work regardless of the syntax used.

View 3 Replies


ADVERTISEMENT

Slackware :: Function To Check If Lighttpd Running Has Exception When There's No Lighttpd

May 7, 2010

what the procedure is to file bugs against slackware so I will post here. The rc.lighttpd I have works but the function to check if lighttpd is running has an exception when there's no lighttpd.

View 2 Replies View Related

Ubuntu Servers :: Htaccess Won't Secure A Directory

Nov 22, 2010

I installed AWSTATS on my LAMP 10.04 LTS and followed several tutorials URL...) but I can't secure the folder, either by an alias or by .htaccess. I tried both methods manually and by using Webmin.If you go to the URL www.mywebsite/awstats/awstats.pl it shows up, which is good, but this is the default installation site and anyone who knows awstats could possibly see my stats. The conf folder is /etc/awstats/, and I did an alias for that, then .htacess, but neither worked. With the .htaccess, I would get a password promt but the full stats page was visible behind the password promt, and if you clicked "Cancel" about 20 times or so the promt would go away and the full stats page would be visible.

The actual file that powers awstats is in /usr/share/lib/cgi-bin/awstats.pl, and I also tried an Alias and .htaccess seperately and neither worked.I restarted apache2 after each change and I've searched several forums, but I still can't figure this out.

View 2 Replies View Related

Server :: Unhide Directory With .htaccess File

Jun 15, 2011

I am using Apache with Kerberos security enabled. The http page simply lists the directories contained in /var/www/html. I want to make only one of the directories in the document root secured so that when someone clicks on it, it requires him/her to enter credentials. Right now when I place the .htaccess file in the directory I want to protect, the directory is hidden from the list and the user has to enter the whole path to get authenticated and access the files.

I've tried Options +Indexes which was posted all over the net, but it didn't work.

View 3 Replies View Related

Ubuntu :: Can't Get Lighttpd To Work Correctly - "No Configuration Available..."

Jun 29, 2010

Lighttpd works correctly under debian, but not Ubuntu 10.04. Lighttpd does not start automatically, and when I try to start it from the command line, I get: lighttpd "No configuration available. Try using -f option"

View 3 Replies View Related

Ubuntu :: Lighttpd "No Configuration Available. Try Using -f Option"?

Jun 29, 2010

I can not get lighttpd to work correctly. I keep getting the error:Quote:lighttpd "No configuration available. Try using -f option"

View 3 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Red Hat / Fedora :: Lighttpd Not Working - IP Don't See Anything

Jun 29, 2010

I'm running CentOS 5.2(i think). But my Lighttpd does not work. Code: /etc/init.d/lighttpd restart

Stopping lighttpd: [ OK ]
Starting lighttpd: [ OK ]

it should work. When I browse to my IP i don't see anything. I just brought a VPS, so trying to get it working

View 1 Replies View Related

Programming :: Use Mod_perl With Lighttpd?

May 2, 2010

Is possible to use mod_perl with lighttpd?

View 1 Replies View Related

Server :: Lighttpd - After Installation Could Not Get Web Pages

Aug 9, 2010

I have installed lighttpd from svn as

Code:

Then I created four directories

Code:

And ls -l for following is

Code:

So permissions are correct upto here.

Then

Code:

Changed the following to

Code:

To

Code:

Then

Code:

Now I run

Code:

I can see

Code:

lighttpd is running.

Following is lighttpd.conf [url]

I created some html pages in /var/lighttpd/ in a directory called jp (which I had made).
Permissions of Document ROOT

Code:

And the directory

Code:

I was not able to see the webpages [url] but I was able to see [url] so why I could not browse the directory jp

I am getting a 404 not found error. Where as the page exists.

View 4 Replies View Related

CentOS 5 :: Yum Repository Does Not Include Lua / Lighttpd?

May 14, 2009

Yum answers that it does not contain lighttpd or lua in the repositories (base,updates,addons,extra). Where can I find a repository containing these packages or should I revert to building myself ?

View 3 Replies View Related

CentOS 5 :: Apache Vs Lighttpd / Big Difference In These - Which Is Best?

Jul 31, 2009

Is there a big difference? Which do you prefer?

View 1 Replies View Related

CentOS 5 :: Use Yum To Upgrade Lighttpd And Install LUA

May 26, 2010

I am running CentOS 5.5 Final on my VPS and IO am using lighttpd for a webserver. I am trying to find a way to upgrade this to the latest version using Yum.I want to find a repository that will allow me to upgrade to lighttpd-1.4.26-2.el5 with the required dependencies. I would also like to do the same for LUA 5.1.4.I have found older versions of lighttpd but not the latest in an RPM / Yum installable version. I have found tarballs and binary version but I am of the understanding that I should use yum to manage my packages to keep the system neat and easy to upgrade / remove etc. in future.

Can anyone advise me as to where I can find these programs and how I would connect to the right repository to get them.

View 1 Replies View Related

Ubuntu :: Install Lighttpd With Arm - Cannot Find -lpcre

Apr 27, 2010

I am trying to install lighttpd into ubuntu with arm. BUT when I configure the file, it gives out an error!

[Code]....

View 1 Replies View Related

Ubuntu Multimedia :: 200 Error When Using Lighttpd To Stream Flv

Mar 2, 2011

We are able to stream the video fine from while the flv file is located in the /var/videos/flv folder. We have a second volume that we formatted and mounted as /media/data/videos/flv. We have changed the path in the lighttpd config file to match this. When we play the video we are receiving:200, Stream not found, NetStream.Play.StreamNotFound, clip" "[Clip]"/media/data/videos/flv/test.flv".

View 1 Replies View Related

Ubuntu Servers :: Have Lighttpd Not Autostart At Boot

Jul 16, 2011

How do I stop Lighttpd server from auto starting when I boot? I'm using it on my laptop for testing and I'd like to turn it on when I need it but not have it autostart.

View 1 Replies View Related

Server :: Lighttpd Anti-hotlinking For Images ?

Jan 7, 2011

Lighttpd anti-hotlinking for images i just want these domain to link my imgages (test1.com,newtest2.cn,800keke.net,800org.com.cn),the other site will be redirect to [url].

lighttp configuration :

Code:

This configure onle effect to test1.com. no effect to (newtest3.cn,800keke.net,800org.com.cn. i still dont know why..

View 1 Replies View Related

Server :: Multiple SCGI Servers With Lighttpd?

Jul 16, 2009

I'm trying to configure lighttpd to send SCGI requests to different ports, depending on what file(s) are accessed. Is this possible? This is what I've tried, and it hasn't worked.

Code:

$HTTP["url"] == "URL1" {
scgi.server = (
"/RPC2" =>

[code]...

SCGI requests aren't sent to the correct port, regardless of what file is accessed.

View 1 Replies View Related

Programming :: Lighttpd Startup Script Failing?

Aug 4, 2010

I am using Ubuntu 9.04Following is a startup script I am trying.

Code:
#!/bin/sh
USER=lighttpd

[code]....

View 3 Replies View Related

Debian Configuration :: Content Of Www Directory

Feb 26, 2016

I had directory inside www that is gone. I am not sure if I removed it my mistake somehow or there is something weird going on. How would I track down what happened to this directory?

View 2 Replies View Related

Networking :: Lighttpd Breaks After Large System Update?

Feb 24, 2010

I am not fully sure if this belongs more to the networking section or the software. O hope it is related to here enough.

My problem is as the topic says.

My port 80 seems to be already taken. lighttpd fails to start reporting that it cannot bind to port cause its already taken.
The error message itself:

Code:
"Starting web server: lighttpd2010-02-21 07:01:02: (network.c.345) can't bind to port: :: 80 Address already in use failed!"

I am not able to crack this by myself. Ihve tried investigating this by

Code:
lsof -i :80
netstat -ape | grep -v unix

First doesn't show anything second anything abt port 80.

Now hints I can think of. Maybe you have more experience and ideas what I can do and where should I look for the culprit.

I am using debian (unstable) and lighttpd. I even tried rebooting; it says that the port is taken already at the boot sequence (well it starts pretty much at end anyway but the system should be clean).

It seems that it started failing after a major distro update, so maybe there are some conflicts based on ipv6/v4 or something, though I have no idea what it could be. Well my hit for that is the part of error msg "bind to port: :: 80 ". This "::" looks like ipv6 naming convention. Maybe its lighttpd internal.

View 2 Replies View Related

Server :: CentOS 5 Make Qmailadmin Work With Lighttpd?

Aug 20, 2010

I have been searching in the forum and google but still not lucky enough to figure out yetI have a lighttpd server runningbecause apache consume so much CPU and memory) andqmailtoaster (just setup).Here is the configuration in cgi modules:

Code:
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",

[code]....

View 2 Replies View Related

Server :: Installing Lighttpd From Svn Unable To Start Script?

Aug 4, 2010

I have followed all the steps as mentioned on documentation.except automake (I am not clear as where to make automake)

I logged in as Root on a Ubuntu system
and then

Code:
cd /opt
svn checkout svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/
cd lighttpd-1.4.x
./autogen.sh
./configure
make
make install

After this what do I need to do to be able to start the lighttpd ?After this I did not found any script /etc/init.d/lighttpd. so what more has to be done ?

View 14 Replies View Related

Server :: Lighttpd Access.log File Is 73 GB - How To Clear It Partially

May 19, 2010

I have an Ubuntu server running with lighttpd.

The file, access.log has utilized 73GB at: logs/lighttpd/, which contains data since 3 to 4 years (approx.)

So, i need to have only last 6 months logs in the file and the rest to be cleared.

View 4 Replies View Related

Server :: Lighttpd - Name Index.html Of Additional Domain?

Apr 13, 2011

For the 1st domain,say domain1. I name the index file as:

[code]...

3 identical files. It works seamlessly. On browser its webpage can be evoked. Now I add another domain, say domain2. How shall I name its index files?

[code]...

View 1 Replies View Related

Server :: Lighttpd - Slow HTTP POST Attack

Jan 31, 2011

[url]

I ran across the above article, which described a DoS attack in which requests are sent very slowly to the Web server. I'm running lighttpd 1.4.28 on a Gentoo Linux server, and I'm wondering if there is anything I could do in preparation to defend against such an attack.

A bug report [url] seems to indicate that there was a patch in place already against this sort of attack, but I wanted to be sure that was the same thing and if there was anything else I needed to do.

View 3 Replies View Related

CentOS 5 Server :: Installed Lighttpd - Get 404 Not Found In Browser

Jul 31, 2010

This is what I did till now and all was installed with success:
yum update
wget [URL]
yum install lighttpd
chkconfig --levels 235 lighttpd on
/etc/init.d/lighttpd start
Must I configure something else too? if yes... what?

View 2 Replies View Related

Debian Configuration :: Make Modprobe Look Into The Right Directory?

Jun 28, 2011

I've got a problem when I try to use to load modules like when I try : modprobe tun It says : FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory I've checked in my filesystem, the directory 2.6.32-4-pve doesn't exist, instead I have 2.6.39.2.110628 So how could I make modprobe look into the right directory ?

View 4 Replies View Related

Networking :: Active Directory Connection And Configuration?

May 13, 2010

I have successfully connected (and authenticated the user) from linux (Ubuntu) to Active Directory (windows 2003) using "Likewise Open".

1. at the login screen I have to enter "example.localusername" to login. how can I simplify the login so that the user can choose (click)the domain and just enter the username and password (like the login in windows) or make the domain the default.

2. how can I configure the default user profile? meaning, when the user login for the first time, I want to configure his profile. does it use the "/etc/skel" directory like the regular local login?

View 3 Replies View Related

Ubuntu Servers :: Lighttpd 404 Error Page Not Found Message

Jul 7, 2010

I installed lighttpd to be able to view cgi files that display the status of my UPS. For the most part is has worked w/o incident i.e. until recently when the UPS battery failed on my APC backups xs 1500 lcd. I could not view the multimon.cgi file via the localhost or 127.0.0.1 url e.g.: [URL]... I'd get 404 page not found message. After checking links here and on the web, I tried: [URL]... The page is displayed. From this discovery, I'm not sure that this is a web server configuration or a network host configuration issue or what. I'm running Lucid with all updates, no mods to lighttpd except I added the mod_fastcgi line to the lighttpd.conf file

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved