Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ScriptAlias problem (running CGI scripts)

Status
Not open for further replies.

jddk23

Technical User
Nov 30, 2005
1
US
Hello everybody,

I can't make a silly ScriptAlias to work. I have an application (Web Calendar) installed at /srv/ I want to access it through localhost/wcal/index.cgi so I modified /etc/httpd/httpd.conf with:

ScriptAlias /wcal/ "/srv/
But it doesn't like to work. I have as well the default ScriptAlias /cgi-bin/ "/srv/ and every test script that I create in /srv/ and access from localhost/cgi-bin/*.pl or *.cgi works fine.

I know it's a silly problem but I can't figure out what I'm doing wrong. I read as many webpages as you can imagine but I can't find out where the problem is.

I'll really appreciate your comments to help me find out what I'm doing wrong.

Thank you!!

Jorge
 
Hi

Just questions :
[ol]
[li]The Web Calendar works if is installed in the /cgi-bin/ ?[/li]
[li]What means "But it doesn't like to work." ?[/li]
[li]In what language is written that Web Calendar ?[/li]
[/ol]
Additionally I would read the Web Calendar's documentation, looking for requirements and installation advices.

Feherke.
 
Do you have options +ExecCGI set for directory htdocs/wcal or htdocs?

Do the scripts have the executable bit set(chmod 755)?

If you cd to htdocs/wcal can you execute the scripts from the commandline?

You might also look at the SetHandler directive, but it would be redundant to your ScriptAlias in your case

Jeb Beasley \0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top