[Setup] Virtual hosting setup

danielcodrea daniel.codrea at yahoo.com
Thu May 7 09:22:43 UTC 2009




Holden Hao wrote:
> 
> On Thu, May 7, 2009 at 5:03 PM, danielcodrea
> <daniel.codrea at yahoo.com>wrote:
> 
>>
>>
>>
>> Holden Hao wrote:
>> >
>> > On Thu, May 7, 2009 at 4:44 PM, danielcodrea
>> > <daniel.codrea at yahoo.com>wrote:
>> >
>> >> I created the folders for the log files, so now apache can write the
>> >> logs.
>> >> I moved the virtual host settings to /etc/apache2/sites-enabled/
>> folder
>> >> now when i go to http://support.coena.com it gives an error:
>> >> Forbidden
>> >> you don't have permission to access/ on this server
>> >
>> >
>> > Make sure that:
>> >
>> > RewriteRule ^/(.*) \  http://....................... [L,P]
>> >
>> > is in one line. I am just guessing that this could be the problem since
>> it
>> > seemed its on a second line in the config I gave you.  Perhaps, Gmail
>> > wrapped the line.
>> >
>> >
>> > Holden
>> >
>> > _______________________________________________
>> > Setup mailing list
>> > Setup at lists.plone.org
>> > http://lists.plone.org/mailman/listinfo/setup
>> >
>> >
>>
>> It's in one line,
>> and apache is not giving any error when restarting,
>> but it still gives the forbidden page when i enter
>> http://support.coena.com
>> in a browser and the page loads when i enter
>> http://support.coena.com:8080/coenasupport in the browser.
>>
>>  is there any chance that the rewrite rule is not taken into
>> consideration?
>>
> 
> Yes. If the Rewrite module is not installed or loaded by default.  Check
> if
> 
> /etc/apache2/mods-available/rewrite.load
> 
> is there or something similar.
> 
> 
> Holden
> 
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
> 
> 

I checked in mods-available, and in mods-enabled, they both contain
rewrite.load



-- 
View this message in context: http://n2.nabble.com/Virtual-hosting-setup-tp2808957p2826955.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list