Skip to Content

Apache 2 is not serving my pages any more

Hi

I tried to add a new entry for the apache root, still not working, this is my virtualhost definition: ServerName localhost ServerAlias localhost DocumentRoot /var/www/html ServerAdmin root:mylove@localhost

And this is the rewrite rule I used: RewriteEngine On

RewriteCond %{REQUEST_URI} !^/html(.*)

And this is the new entry I added: ServerAdmin root:mylove@localhost # DocumentRoot /var/www/html # ServerName 127.0.0.1 # ErrorLog /var/www/html/log

thanks in advance

MSameer's picture

Create only one

Create only one VirtualHost with the ProxyPass directive

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum