Re: Manually adding an entry to httpd.conf for a domain that would share a DocumentRoot with an existing domain/account

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

 



On Thu, Sep 24, 2009 at 8:52 AM, John Martin <giantsfan2099@xxxxxxxxx> wrote:
> I'd like to add a domain to httpd.conf manually, because it shares a
> DocumentRoot with an already existing account.

Manually, as opposed to what?



> However after restarting httpd, I get a 403 Forbidden page for the
> domain, so I have made a mistake or missed something. What is the
> correct way to replicate what the Apache 1.3 code does, in Apache 2?
> That is, adding a domain which shares a DocumentRoot with an existing
> domain.

Let's try to solve your problem...

What is the output of the following command?
httpd -S

What is in your error log?

Do you have the correct NameVirtualHost statement somewhere?

Krist





-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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