Forum Moderators: phranque
I have set things up as was suggested. New users get a www folder in their home directory, with public_html, logs, and cgi-bin folders inside it. The public_html folder has a symbolic link from cgi-bin to ../cgi-bin.
Now, how do I get the cgi-bin configured to serve cgi scripts, and how do I get it so the symbolic link is actually followed? What permissions do I need to have set on which folders/files?
I am also using Webmin, so information about how to do what I need with Webmin would be especially appreciated.
ServerName kwixson
DocumentRoot /home/kwixson/www/public_html
ErrorLog /home/kwixson/www/logs/kwixson-error.log
LogLevel emerg
TransferLog /home/kwixson/www/logs/kwixson-access.log
Options ExecCGI
ScriptAlias /cgi-bin/ /home/kwixson/www/cgi-bin/
And The problem I'm having at the moment is the error...
Forbidden
You don't have permission to access /cgi-bin/hello.cgi on this server.
Apache/1.3.33 Server at kwixson Port 80
Also, check file permissions; the user will need to be able to read and execute the cgi.
Check the error log for more info. I'd suggest setting the log level to "warn" until you get this working.
That's about all I know about this... :(
Jim