LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-17-2002, 04:25 AM   #1
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Rep: Reputation: 30
httpd chokes on ScriptAlias line in Apache httpd.conf


I'm trying to point Apache to my cgi-bin directory, but

ScriptAlias /cgi-bin /usr/www/cgi-bin

is causing restarts of httpd to fail with

Syntax error on line 4 of /etc/httpd/conf/httpd.conf
Invalid command 'ScriptAlias', perhaps mis-spelled or defined by a module not included in the server configuration.

Of course, ScriptAlias is not mis-spelled. /etc/httpd/modules has a mod_alias.so and mod_cgi.so. Is there another module that I need?

Thanks!
 
Old 07-14-2003, 10:32 PM   #2
l-guy
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
The proper ScriptAlias would be this:


ScriptAlias /cgi-bin/ "/usr/www/cgi-bin"


Notice the quotes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache httpd.conf file?? matux Mandriva 2 01-28-2005 09:20 AM
apache httpd.conf ilnli Linux - Software 9 01-11-2005 06:58 AM
Apache httpd.conf help BoardinBum Linux - Software 4 12-29-2004 12:59 PM
apache httpd.conf https Hube Linux - Software 7 04-07-2003 08:52 PM
apache httpd.conf plisken Linux - Software 1 02-01-2003 02:01 PM


All times are GMT -5. The time now is 02:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration