Hi
I want to made vhost in my computer but it not work with me can any one help me please [/size]
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
March 26, 2008 5:07am
Subscribe [1]#1 / Mar 26, 2008 5:07am
Hi
I want to made vhost in my computer but it not work with me can any one help me please [/size]
#2 / Mar 26, 2008 6:10am
what version of apache are you using?
#3 / Mar 26, 2008 6:33am
apache 2
#4 / Mar 26, 2008 6:49am
ok, you’ll need to add something like this to your httpd.conf
<VirtualHost *:80>
ServerAdmin .(JavaScript must be enabled to view this email address)
DocumentRoot /path/to/your/app
ServerName <a href="http://www.foo.com">http://www.foo.com</a>
ServerAlias foo.com
ErrorLog logs/ci_app-error_log
CustomLog logs/ci_app-access_log common
</VirtualHost>you’re probably better off reading the manual - http://httpd.apache.org/docs/2.0/vhosts/
#5 / Mar 26, 2008 7:05am
@GSV: I thought you said this wasn’t an Apache support forum :lol:
Good work though.
#6 / Mar 26, 2008 7:08am
Well, I can’t be mean all the time 😊
#7 / Mar 26, 2008 7:39am
thank you for that it’s worke