Virtual Host setup in PHP.ini
Posted by: trixterj (---.30.118.70.cfl.res.rr.com)
Date: September 13, 2006 07:31AM

I had manually installed Apache with PHP and had this working.

I want to use WAMP but not the aliases, I want to use virtual hosts.
----------------------------------------------------------
NameVirtualHost lostseed

<VirtualHost lostseed>
DocumentRoot d:\lostseed
ServerName lostseed
</VirtualHost>

<Directory "d:\lostseed">
Options all
AllowOverride all
Order allow,deny
Allow from all
</Directory>
----------------------------------------------------------

It goes go the WAMP5 Homepage and not d:\LostSeed
I have this setup in C:\Windows\System32\Drivers\etc\hosts as well

Options: ReplyQuote
Re: Virtual Host setup in PHP.ini
Posted by: CyberSpatium (67.170.181.---)
Date: September 13, 2006 03:11PM

you do not add this to your php.ini file, add it to your httpd.conf file. after you add it to your httpd.conf file, restart apache for the new settings to take efffect.

Options: ReplyQuote
Re: Virtual Host setup in PHP.ini
Posted by: trixterj (---.30.118.70.cfl.res.rr.com)
Date: September 14, 2006 02:59AM

stupid me!!!

thanks so much im VERY HAPPY smiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.