Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Vhost and subdomains

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Subdomains - Hi there I'd like to know how to configure Apache 1.3.29 so that when I type or it goes and check the /www/ folder in the Same for ... I'd like it to point to /forum/ folder in..

SubDomains and a RAQ4 - Another 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 that are by one..

Vhosts, subdomains and proxypass (probably proxypass ) - I have the folowing problem i cant configure my apache to serve like tkat: if called then apache gets data from if called then apache gets data from if called then apache serves his..

Rewrite rules & Subdomains - Hi, We are looking to use rewrites rules for Ex: -> We use this rule: on ^(.+) ..

Help needed - Mod Rewrite/redirect for subdomains - Hi, I'm in need of some (read: please bail me out 'cos I'm really stuck!) My webhosts allow to be created so that for instance can be accessed through
Next:  Apache: Virtual Host problem  
Author Message
mno11

External


Since: Aug 15, 2004
Posts: 1



(Msg. 1) Posted: Sun Aug 15, 2004 5:31 pm
Post subject: Vhost and subdomains
Archived from groups: alt>apache>configuration (more info?)

Hi all,

I have the following setup for a domain using Vhosts:

<VirtualHost 65.39.131.101>
User caspringlo
Group users
ServerName springloaded.ca
ServerPath /springloaded.ca
Setenv VLOG /home/caspringlo/logs
DocumentRoot /home/caspringlo/public_html
#RewriteEngine Off
#RewriteOptions inherit
</VirtualHost>

This works well. Now, I tried adding the following:

<VirtualHost 65.39.131.101>
User caspringlo
Group users
ServerName internalweb.springloaded.ca
ServerPath /internalweb.springloaded.ca
Setenv VLOG /home/caspringlo/logs
DocumentRoot /home/caspringlo/public_html/internalweb
#RewriteEngine Off
#RewriteOptions inherit
</VirtualHost>

But when I try to go to internalweb.springloaded.ca, I get a Forbidden
error. Why?

When I try setting DocumentRoot for internalweb.springloaded.ca to the
same as that of springloaded.ca, it works and both domains load the same
page (as they should).

Thanks,
Max

 >> Stay informed about: Vhost and subdomains 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Aug 16, 2004 7:51 am
Post subject: Re: Vhost and subdomains [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-08-15, Max Nokhrin <mno11.RemoveThis@lycos.com> wrote:
 > But when I try to go to internalweb.springloaded.ca, I get a Forbidden
 > error. Why?

maybe beacuse the user/group under which apache run doesn't have
the permission to access the directory.
Check your error_log

Davide

--
Stop searching. Happiness is right next to you.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Vhost and subdomains 
Back to top
Login to vote
Display posts from previous:   
   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 ]