Subdomain Config Questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am looking to configure Apache in a way that I've never done before. I've tried describing this to google to see what it spits out, but I am unsure of the results. What I am looking to do is have a set of files in the main web root of my server. I'd like any subdomain to use these files as it it would if they were in its own web root. The google searching I did seemed to come back with "subdomain wildcards". I have tried any of the configuration examples I found on it yet. So it may or may not be what I want. The seconds thing I need to happen is that I'd like to set a PHP session variable based on the subdomain name. Or set something to I can distinguish between each one given. Basically I'd like a.domain.com and b.domain.com to be structured exactly the same, but serve up different content text and images. When I update the main code it will update for all the subdomains without uploading files to each one.

If anyone can let me know if this possible I would really appreciate it.

Thanks,

Aaron

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux