Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Cookie Issues with Main Domain and Subdomains

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Tomcat+Apache+mod_jk servlets  
Author Message
laudanp

External


Since: Jan 18, 2004
Posts: 1



(Msg. 1) Posted: Sun Jan 18, 2004 9:47 am
Post subject: Cookie Issues with Main Domain and Subdomains
Archived from groups: alt>apache>configuration (more info?)

Good evening folks, I hope this won't be too much of a burden in
asking but I seem to be scratching a wooden post down to mere pulp
right now. Wink

I own the following main domain:

nukecops.com

From that I have created several subdomains, examples include:

phpnuke.nukecops.com
bbtonuke.nukecops.com
beta.nukecops.com
nukemods.nukecops.com

These are PHP-Nuke portals that are powered by Apache on a Redhat OS.
Here is my issue...

When logging into the /forums.html link from 'nukecops.com', one sees
the forum indexes and is able to drill down to any forum thread
successfully.

Now while logged into 'nukecops.com', if one were to browse
'/forums.html' at any of the above subdomains like
'nukemods.nukecops.com/forums.html', one would not see the forum index
at all. Nor would one be able to drill down to any threads because
they simply vanished.

However, let us backtrack a bit. If one were to never log into
'nukecops.com' one may then freely browse the forum index at
nukemods.nukecops.com (or any of the other subdomains) while drilling
down to any of their threads.

Now the settings.

Each domain/subdomain has the same name set for its cookie_domain
within the phpbb forums configuration, ie:

nukemods.nukecops.com = nukemods.nukecops.com

Within my apache configuration for this subdomain is found this:

<VirtualHost 66.227.19.157>
ServerName nukemods.nukecops.com
ServerAlias www.nukemods.nukecops.com
ServerAdmin xxx
DocumentRoot yyy
<IfModule mod_expires.c>
<Directory yyy>
ExpiresActive On
ExpiresByType image/gif "access plus 1 hour"
ExpiresByType image/jpeg "access plus 1 hour"
</Directory>
<FilesMatch "\.jpg$">
ExpiresActive On
ExpiresDefault A3600
</FilesMatch>
<Directory yyy>
AllowOverride All
</Directory>
</VirtualHost>


Here are my settings for 'nukecops.com':

<VirtualHost 66.227.19.157>
ServerName www.nukecops.com
ServerAlias nukecops.com www.nukecops.com
ServerAlias nukecops.net www.nukecops.net
ServerAlias googletap.com *.googletap.com
ScriptAlias /cgi-bin/ "111"
ServerAdmin xxx
DocumentRoot 222
<IfModule mod_expires.c>
<Directory 222>
ExpiresActive On
ExpiresByType image/gif "access plus 1 hour"
ExpiresByType image/jpeg "access plus 1 hour"
</Directory>
<FilesMatch "\.jpg$">
ExpiresActive On
ExpiresDefault A3600
</FilesMatch>
</IfModule>
</VirtualHost>

(I replaced locations with letters or numbers, same for emails.)

Any suggestions or recommendations to optimize this so that one may
log into 'nukecops.com', browse its forums/threads with ease while
also being able to visit the other subdomains to browse those
forums/threads with success?

Thanks for your time in advance.

Paul

 >> Stay informed about: Cookie Issues with Main Domain and Subdomains 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
vhost with ports turns off main site - Hi, I added some port based (arbitrarily numberd 8080 and 8090) virtual hosts to my config file and, though I began to be able to access those virtual hosts, the main site refused to come up. Can someone tell me what I did wrong? For example, I put at...

Subdomains - Hi there I'd like to know how to configure Apache 1.3.29 so that when I type http://www.127.0.0.1 or http://127.0.0.1, it goes and check the /www/ folder in the documentroot. Same for http://forum.127.0.0.1 ... I'd like it to point to /forum/ folder in....

SubDomains and a RAQ4 - Another sub-domain question. This may not be the proper place, but I can't seem to get an answer from Sun on this. I have a Cobalt Raq 4 with all current patches, but default installs of software. I want to create subdomains that are controlled by one...

Custom 404 causes problems with cookie - In httpd.conf I added ErrorDocument 404 /404/index.php between the <Directory /> and </Directory> tags. In the body I set a cookie called ABC as follows. // Set the ABC cookie, the value determines where the user's browser is directed after...

Vhosts, subdomains and proxypass (probably proxypass ) - I have the folowing problem i cant configure my apache to serve like tkat: if called www.domain.com then apache gets data from domain.com:8100 if called wap.domain.com then apache gets data from domain.com:8200 if called domain.com then apache serves his...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]