[users@httpd] Subdomain Issue

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

 



hi everyone,

i have a domain
 1)
  www.domain.com
 and a subdomain
2)
subdomain.domain.com

3
http://www.domain.com points to ' /var/www/domain.com/htdocs'

http://subdomain.domain.com points to ' /var/www/domain.com/htdocs/directory1'

4)
and htdocs directory contains:

directory1
directory2
.
.
directoryN

5)

when i call my subdomain

i get it showed  just fine but if i start browsing  the

 directory1=http://subdomain.domain.com

for example calling a file example.php

the URL showed in the browser changes to

http:// www.domain.com/directory1/example.php

i just want the URL to remain

http:// subdomain.domain.com/example.php

ill be glad for any help to get this done i have readed the rewrite dcumentation for apache-2.0.53 and its lil bit too complex for me since iam new to apache issue

6) iam running apache 2.0.53 on gentoo linux 2.6.12-rc1

thank you!
__________________________________________________
Verpassen Sie keine eBay-Auktion und bieten Sie bequem
und schnell über das Telefon mit http://www.telefonbieten.de

Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag
eMail, FAX, SMS, VoiceMail mit http://www.directbox.com



---------------------------------------------------------------------
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