Forum Moderators: phranque

Message Too Old, No Replies

Was my sub-domain set up properly?

         

palmpal

9:51 pm on Jan 15, 2006 (gmt 0)

10+ Year Member



Hello,

I posted a problem I am having with my sub-domain on the Perl/CGI board. Part of the problem may have to do with the way I have my sub-domain set up. Briefly, I have one CGI-Bin in my main domain and it is pointing to my sub-domain. I can access the store products from both the sub-domain and the domain. I need to only access them from the sub-domain.

My website is on an apache web server.

The CGI-BIN:
var/www/cgi-bin/store

The sub-domain:
var/www/html/sub-domain/ (I can see the CGI-BIN link off of the sub-domain.)

FYI the Sub-domain is pointing to a folder within my main domain structure.

Was my sub-domain set up properly or should it have gone in a separate directory off of the www above? Is this the way to make sure the domains cannot access each other via the web and so they will not know about each other? Will this fix my problem or do I also need to set up a second CGI bin?

Thanks