Help me in Lighttpd [403 - Forbidden] Error

Status
Not open for further replies.

SnowDoN

Active Member
111
2009
4
10
Hello guys

i installed lighttpd using this
Code:
Why lighttpd and not Apache? First of all, what is lighttpd? These four words can describe lighttpd – security, speed, compliance, and flexibility. lighttpd (pron. lighty) is a web server that has been optimized for high performance environment. With its very low memory footprint compared to other web servers, takes care of CPU load and advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) makes lighttpd the perfect web server software for every server that suffers load problems. Best of all lighttpd powers several popular Web 2.0 sites like YouTube, wikipedia and meebo.

Let’s get started. I am running CentOS 5 64-bit. You can’t get lighttpd from the official CentOS 5.0 repositories. We have to download lighttpd from DAG RPM Repository. Let’s download these packages lighttpd and lighttpd-fastcgi like this: -

wget -c http://packages.sw.be/lighttpd/lighttpd-1.4.28-1.el5.rf.x86_64.rpm

wget -c http://packages.sw.be/lighttpd/lighttpd-fastcgi-1.4.28-1.el5.rf.x86_64.rpm

Next, we can install the lighttpd and lighttpd-fastcgi like this: -

rpm -ivh lighttpd-1.4.28-1.el5.rf.x86_64.rpm lighttpd-fastcgi-1.4.28-1.el5.rf.x86_64.rpm

Next, we can update the runlevel information for system services so lighttpd start up automatically whenever the system boots like this: -

chkconfig --levels 235 lighttpd on

service lighttpd start
service lighttpd restart

lighttpd’s default document root is at /srv/www/lighttpd and the configuration file is at /etc/lighttpd/lighttpd.conf on CentOS 5.

Simply create an index.html file and upload to the lighttpd document root. Now, point your favorite web browser to the lighttpd IP address and you will see the index.html file you created.

its installed fine but i chnaged root directory to /var/www/lighttpd from /srv/www/
like this
PHP:
server.document-root        = "/var/www/lighttpd/"
in
PHP:
/etc/lighttpd/lighttpd.conf

and then i install rapidleech to directory /var/www/lighttpd/rl
but when i run in i get an error
403 - Forbidden

i am not using and domain
i am accessing it via ip address
please help me in this

how can i fix 403 - Forbidden error
i google it but not able to solve

and me using centos 5 x64 OS

Thanks in Advance
 
2 comments
Status
Not open for further replies.
Back
Top