hi all...
recently i tried to set up a squid cache manager (cachemgr.cgi) in redhat 6.1 ...i put the cgi program in user squid' home directory (/home/student/squid/public_html/cachemgr.cgi).. added this in access.conf:
<Directory /home/student/*/public_html>
Options Indexes Includes FollowSymlinks ExecCGI
order allow,deny
allow from all
</Directory>
then restarted apache...but when i tried to access the page via netscape, i got this message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
suzana@kym.edu.my and inform them of the time the error occurred, and anything you
might have done that may have caused the error.
More information about this error may be available in the server error log.
i've checked the files permission ....755 for the directories and files, but still couldnt make it work. I checked my /var/log/httpd/error_log and got this:
....[error][client x.x.x.x]Premature end of script headers:/home/student/squid/public_html/cachemgr.cgi
what could have caused this?when i moved the cachemgr.cgi to /home/httpd/html/cachemgr.cgi..it worked! Now this is confusing...i hope somebody can shed a light on this...THANKS!!