danielcodrea wrote:
>
>
>
> Holden Hao wrote:
>>
>>>
>>> Hi,
>>>
>>> Thanks again for the answer.
>>> I did all that you mentioned like this:
>>>
>>> 1) In httpd.conf I entered: NameVirtualHost *:80
>>>
>>> 2) I created a httpd folder in /etc/, inside the httpd folder, I created
>>> another conf.d folder, containing the file support.conf.
>>> In support.conf I entered:
>>>
>>
>> You should not need to create an httpd folder. It should be there when
>> httpd or Apache was installed. Perhaps that is the problem. What
>> distribution are you using? You can also check where the right folder to
>> put the config file to by looking at httpd.conf and looking for the
>> inlcude
>> directive. Look for something like:
>>
>> Include /etc/httpd/conf.d/
>>
>> This means that the virtual host config file should be located in
>> /etc/httpd/conf.d/
>>
>>
>>>
>>> http://localhost:8080/VirtualHostBase/http/%{support.coena.com}:80/coenasupport/VirtualHostRoot/$1[L,P]<http://localhost:8080/VirtualHostBase/http/%%7Bsupport.coena.com%7D:80/coenasupport/VirtualHostRoot/$1%5BL,P%5D>
>>>
>>>
>> The %{SERVER_NAME} is an Apache variable. No need to edit that.
>>
>>
>> HTH,
>>
>>
>> Holden
>>
>> _______________________________________________
>> Setup mailing list
>> [email protected]
>> http://lists.plone.org/mailman/listinfo/setup
>>
>>
>
> I have apache2.2 installed on a ubuntu hardy 8.4 server.
> when i restart the apache server it gives the error :
> httpd (no pid file) not running
> and the restart fails
>
> i installed appache2 and i donno how to install or set active httpd, thats
> why i created the httpd folder, as i had none. I also entered Include
> /etc/httpd/conf/d/*.conf in apache2.conf file.
>
> it still doens't work :(
>
>
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
donno why
--
View this message in context:
http://n2.nabble.com/Virtual-hosting-setup-tp2808957p2826778.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup