Operating Systems > Linux and UNIX

apache again

<< < (3/5) > >>

KernelPanic:

quote:Originally posted by Master of Reality / Bob:
can someone try this link to the bob hub It works on my comp... but it might be that the external stuff aint workin'.
--- End quote ---


It works, the backgorund of the left hand frame doent show though.

[ September 09, 2002: Message edited by: Tux ]

Master of Reality:
thats because i lost all my pics. I can get them all back within a few seconds though  

oh yeah, i got news from the GizzBob, fortunecity servers are down and that is why the Bob Home is down.... I might host a mirror for the site though.

Master of Reality:
The Bob Hub and MES Chat should both be working now.

Master of Reality:
i uncommented AddHandler cgi-script .cgi
and added Options ExecCGI but my cgi scripts still wont work. It is chmodded properly but the browser says that it is forbiddden when trying to run it (http://www.meschat.tk). Anything i gotta do.

 Bob sleep now.

voidmain:
First of all, can you view regular HTML files or do you also get "Forbidden" with them? There are two possibilities:

1) You not only have to consider the permissions on your CGI files (should be 'r-xr-xr-x') but you have to make sure you have at least 'dr-xr-xr-x' on every directory leading up to the file.  At least the "apache" ID must have access to the files which includes permissions to enter and list contents of the directory ("root root dr-xr-xr-x" or minimally "apache apache "dr-x------").

2) You need to add a <Directory "/var/www/chatroom"> </Directory> section in your httpd.conf.  That looks something like this:


--- Code: ---
--- End code ---

Change the "/var/www/chatroom" to whatever your document root is. You should already have a "Directory" directive for "/var/www/html", if your DocumentRoot for your virtual server is not under that directory then add the section I have listed for you above right under the "/var/www/html" section.

P.S. I just did a little digging from "outside" of your server and it appears that you do have the directory permissions set sufficiently. It really looks like you have the permissions set wrong on $DOCROOT/everychat/everycht.cgi. Is it r-xr-xr-x on that script?

[ September 09, 2002: Message edited by: void main ]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version