apache2 - Ubuntu 12.10 Virtual Host -


hello i've tried make virtual host localhost on apache 2 did not succeed

<virtualhost *:80>     servername portal     serveradmin webmaster@localhost.com     documentroot /var/www/portal/public     <directory /var/www/portal/public>         options followsymlinks         allowoverride         require granted     </directory>  </virtualhost> 

what can do?

i added in /etc/hosts line 127.0.0.1 portal

and make work for:

apache 2.2

order allow,deny allow 

apache 2.4

require granted satisfy 

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -