[Setup] Virtual hosting setup
daniel.codrea at yahoo.com
Thu May 7 07:31:55 UTC 2009
Holden Hao wrote:
>> Thank you for your prompt reply.
>> I managed to configure the nameserver to point to the subdomain i wanted.
>> Now I have it set like this: http://subdomain.xxx.com:8080/plonesite and
>> want iot to look like http://subdomain.xxx.com.
>> I followed the directions from the article in the link you mentioned, but
>> did not do it. :(
> 1. You need to enable NameVirtualHost in your httpd.conf
> 2. Then add a file FileName.conf to /directory etc/httpd/conf.d Look at
> each line and change appropriately to your settings.
> <VirtualHost *:80>
> ServerName subdomain.xxx.com
> ServerAlias www.subdomain.xxx.com
> ServerAdmin your at emailaddress.com
> ServerSignature On
> CustomLog /var/log/httpd/mysubdomain-access.log combined
> ErrorLog /var/log/httpd/mysubdomain-error.log
> LogLevel warn
> <IfModule mod_rewrite.c>
> RewriteEngine On
> # serving icons from apache 2 server
> RewriteRule ^/icons/ - [L]
> RewriteRule ^/(.*) \
> Good luck.
> Setup mailing list
> Setup at lists.plone.org
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:
CustomLog /var/log/httpd/support.coena.com-access.log combined
# serving icons from apache 2 server
RewriteRule ^/icons/ - [L]
RewriteRule ^/(.*) \
but it doesn't work. Could you please have a look at what I did wrong?
View this message in context: http://n2.nabble.com/Virtual-hosting-setup-tp2808957p2826560.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup