Re: Problem getting script to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/19/07, Robert A. Rawlinson <rarawlinson@xxxxxxxxxxxx> wrote:
Thanks Luis. I also have this in the httpd.conf file:
ScriptAlias "/usr/www/users/fgames/mufoncms.com" "/usr/www/cgi-bin/"
<Directory "/usr/www/users/fgames/mufoncms.com">
   AllowOverride None
   Options ExecCGI
   Order allow,deny
   Allow from all
</Directory>

It is unclear exactly what you are trying to do, but that's not right.

Check the docs on ScriptAlias. The first argument is the web-path that
the user will be typing in their browser and the second path is the
physcial path on the filesystem.

So let's assume you have a cgi-script at /usr/www/cgi-bin/script.cgi
Now you want the users to access that script using
http://example.com/cgi-bin/script.cgi
Then you need something like
ScriptAlias "/cgi-bin" "/usr/www/cgi-bin/"
<Directory "/usr/www/cgi-bin">
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

If that is not what you want, please explain what you are trying to
do, including what you want the user to type in their browser and
where you want apache to look for the script.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux