Re: Problem getting script to work

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

 



To start I am working on a module that collects data. Since it does not run on my system I only want to have it run with out change for my system so when I return the module it will work properly with out changes. The module is located on the other system at: /usr/www/users/fgames/mufoncms.com. I only need it to run so I can check my changes work properly. I should only have to type in localhost on my browser to run it. I did not expect it to be so complicated :-) So bottom line is I want to put localhost in my browser and have it run the perl script sp_manage_sighting_reports.pl which is in directory /usr/www/users/fgames/mufoncms.com. Please if I have left anything out I will be glad to provide it. I have two books I have been studeing for several days now and haven't moved off ground zero.
thanks
Bob R

Joshua Slive wrote:
On 7/19/07, Robert A. Rawlinson <rarawlinson@xxxxxxxxxxxx> wrote:

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



---------------------------------------------------------------------
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