Quantcast
Channel: Genuine Scope » fedora
Viewing all articles
Browse latest Browse all 4

Create Virtual Host in Apache

$
0
0

If we want to make the folder /var/www/html/zendFramewok as a virtual hostThen we should have to add the following lines to httpd file
(In Fedora this can be done using terminal by typing gedit /etc/httpd/conf/httpd.conf)

<VirtualHost ∗:80>
ServerName zendFrameworkDocumentRoot "/var/www/html/zendFramework"
</VirtualHost>

then save the file.
Then open /etc/hosts file and add the following line and save it.(In Fedora this can be done using terminal by typing gedit /etc/hosts)

127.0.0.1 zendFramework

Then restart apache

Share


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images