Forum Moderators: phranque

Message Too Old, No Replies

Multiple CGI

Cgi

         

Socceraccess

12:21 am on Jan 23, 2004 (gmt 0)

10+ Year Member



Dear members

I have a website www.example.com and www.example.net, hosted at Ev1servers.net

However, when I point to 'www.example.com/cgi-bin', it really shows the contents of 'www.example.net/cgi-bin'

Let's say that 'www.example.net/cgi-bin' it's hosted at '/home/example_net/cgi-bin'

When I type (for instance) 'www.example.com/cgi-bin/coranto' it reallys shows me the contents of
'/home/example_net/cgi-bin/coranto'
instead of the contents of
'/home/example_com/cgi-bin/coranto'

Should I enter more values in the 'Script Alias' field in order for each domain I'm hosting (www.example.net is an IP domain, www.example.com is a name-based domain) to have it's own CGI-BIN folder?

Regards
Xavier

jdMorgan

5:14 am on Jan 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



socceraccess,

It seems to me that you should put a ScriptAlias directive into each section which defines a virtual host. That way, each one gets its own cgi folder.

JIm