Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache2 vhost problems 403 Forbidden!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Shane-Echosnet
n00b
n00b


Joined: 27 Nov 2010
Posts: 18
Location: Baltimore MD

PostPosted: Fri Dec 03, 2010 12:49 am    Post subject: apache2 vhost problems 403 Forbidden! Reply with quote

Ok Iv ran into a wall here.

So im trying to setup Vhosts on apache2 and At first I thought IT was the config well Iv tryed so meny diffrent setups
and with no progress. each host comes up with the great 403 Forbidden!!!

The other problem is tied to this
Now when I go to www.mydomain.com the right page comes up BUT BUT!!!
when I go to mydoman.com without the ( www ) it comes up with yerp you guessed it 403 Forbidden!

So after diging around I found the chmod to 755 or 777 so I changed everything to 755 then 777 and still the same thing!

So Then I went back to check my DNS config on yahoos domain control.
this is how I have it layed out

Code:

A Record    *.echosnetwork.com 68.49.000.00
A Record    echosnetwork.com 68.49.000.00 
A Record    mail.echosnetwork.com 68.49.000.00
A Record    www.echosnetwork.com 68.49.000.00




This is my vhost config

Code:



<VirtualHost *:80>
        ServerName localhost
        Include /etc/apache2/vhosts.d/default_vhost.include

        <IfModule mpm_peruser_module>
                ServerEnvironment apache apache
        </IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin shane@echosnetwork.com
DocumentRoot /webhost/webmail/
ServerName echosnetwork.com
ServerAlias mail.echosnetwork.com
</VirtualHost>

</IfDefine>

# vim: ts=4 filetype=apache




Now keep in mind I have changed this in EVERY way ! And still comes up with the same big ol 403!

Even after I took out the -D DEFAULT_VHOST from apache config file. This made the pages come up with the Woops thing from yahoo like they were not there.

If anyone has Any ideas pleassseeeeee help me out .

Thanks in advance.
Back to top
View user's profile Send private message
Shane-Echosnet
n00b
n00b


Joined: 27 Nov 2010
Posts: 18
Location: Baltimore MD

PostPosted: Sat Dec 04, 2010 3:19 am    Post subject: Solved Reply with quote

Thanks anyways

I got it working Had to un op -D SSL_DEFAULT_VHOST in con.f
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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