You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ru...@optonline.net on 2003/06/24 16:14:36 UTC

Re[2]: [users@httpd] Equivalent of IIS custom 404

Hello Aidan,

Tuesday, June 24, 2003, 9:55:19 AM, you wrote:

>> Can you get any clues from the access/error log? Do
>> you see /go/index.cfm being requested?

AW> Good thinking. Deleted the logs, dumped all the cgi variables to the
AW> page, prevented redirection and re-ran the request.

AW> Turns out that if you request this using IIS
AW>  http://hostname/go/casestudies
AW> ColdFusion "sees" the cgi variable query_string as "casestudies".

AW> However, under Apache, query_string is an empty string, as you'd expect
AW> it to be. And judging by the output of cfdump, none of them contain a
AW> reference to "casestudies", even http_referer.

AW> Can't think how I'm going to get round this in Apache. It's just too
AW> damn honest  :-|



if you make it.. /go/?casestudies would that be feasible for you? in
apache, anything after ? is part of the query string.

-- 
Best regards,
 rulerpen                            mailto:rulerpen@optonline.net



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Need to run cgi and perl scripts

Posted by Robert Andersson <ro...@profundis.nu>.
gregory haley wrote:
> I would like to have a folder (cgi-bin) to put .exe's or .pl's scripts in
> for each virtual host. I have the folder made in each virtual host but i
> am unfamiliar with what permissions i am supposed to give to the folder or
what
> i am supposed to do to the folder in order to let the scripts be run.

First, have you carefully read the docs?
http://httpd.apache.org/docs-2.0/howto/cgi.html

What you need to do is to remove the ScriptAlias found in your httpd.conf,
then for each of you vhosts, add this

<Directory /path/to/vhost/docroot/cgi-bin>
    Options ...other-options... ExecCGI
</Directory>

Lookup each directive if you don't know them well.

The actual scripts must be executable by the Apache user. chmod 755 commonly
used.

If it is not working, describe exactly what you have tried and what is
happening.

Regards,
Robert Andersson


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Need to run cgi and perl scripts

Posted by gregory haley <gr...@hotmail.com>.
I have Redhat 9.0 and apache 2.0.4.

I am very newly switched from IIS.

I would like to have a folder (cgi-bin) to put .exe's or .pl's scripts in
for each virtual host. I have the folder made in each virtual host but i am
unfamiliar with what permissions i am supposed to give to the folder or what
i am supposed to do to the folder in order to let the scripts be run.

One of the programs that i am trying to run is soupermail
http://soupermail.sourceforge.net/ maybe there is supposed to be another way
to do this but it says it runs on unix and i used to use it on windows and
it Rawked.

thank you in advance
gregory



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org