Web Hosting Talk







View Full Version : Help with shtml


bert
08-05-2001, 02:19 AM
Wander if you guys can help me.

I am trying to setup a new server, and after uploading some files, I realized that the server side includes are not working. I checked the handlers and checked the httpd.conf file, but could not find anything wrong. Any suggestions? Also, when I try to run a script I get a permission denied message. I did check off course the chomd and it is right on 755.

Thanks for the help.

neil
08-05-2001, 02:31 AM
this would probly be better over on Server Configuration and Technical Issues thread. you may want to delete the post and repost it there or ask a mod to move it for you.

-neil

bert
08-05-2001, 03:00 AM
I can't move it. Mods if you can move it please do so.

I found out what the problem is. I need to be able to run scripts outside the cgi-bin and the server is not configured to do so.

Any ideas?

davidb
08-05-2001, 04:27 AM
You can setup any directory for cgi files, The simpilest way to explain how to do this is see what they do to the cgi bin in httpd.conf, and just do the same for the dir. Basicly make a script alias to the dir, and set execgi to the dir.

bert
08-05-2001, 07:10 AM
Thanks for your advice, but I had already checked that before I made the post. It was not as easy as that although pretty simple.

This line:
<Directory />
Options FollowSymLinks ExecCGI Includes
AllowOverride None
</Directory>

was missing the ExecCGI Includes portion.

That solved the problem. :)