Web Hosting Talk







View Full Version : CGI & Subdomain problem...


Cael
06-03-2001, 12:16 AM
I have a problem with a cgi-scripts. It seems to be working well with the normal path. but if I try to access it via subdomain, it is not working.

I have DocumentRoot set to /home/sites/site27/users/mike/web , it works well for normal html files, so I guess it's not a problem with Apache or something?

Anyone can give me any idea? You can view the two pages by the links given below. One is working well, another one is not.

http://www.greenape.net/users/mike/cgi-bin/banner/banneradmin.cgi

http://mike.greenape.net/cgi-bin/banner/banneradmin.cgi

-Edward-
06-03-2001, 01:45 AM
Check yout httpd.conf hasnt got the site added twice if it has delete one and restart it.

Cael
06-03-2001, 10:45 AM
I do have two. One is for the subdomain, and another one is for the domain name.

Is I remove either one, it won't be working anymore.

Chicken
06-03-2001, 12:02 PM
So what you did was change the document root in httpd.conf for mike.greenape.net to /home/sites/site27/users/mike/web correct? I'd try a symbolic link instead and see if that works? I dunno. just a suggestion and possibly a bad one.

Cael
06-03-2001, 12:11 PM
I will try that later. :)

Thanks.

raylin
07-05-2001, 10:54 AM
Donovan,

Did you fix your problem ?

Ray

Cael
07-06-2001, 03:49 AM
Not really. I just changed the sub-domain account, from putting something in httpd.conf to point it to a subfolder, to a real account.