MocroNL
March 1st, 2013, 12:08 PM
Hello Ubuntu guru's.
Configuring a site to shorten the URL is not working as it should.
I'am trying to add smokeping to the sites available and then activate it with a2ensite Smokeping.
After that I reload Apache2 and try to reach the site(smokeping/) but it does not work.
Config:
<VirtualHost *:80>
ServerAdmin support@abc.nl
Servername smokeping.abc.nl
ServerAlias smokeping smokeping.abc.local
Documentroot /usr/share/smokeping/www
Redirect http://smokeping.abc.nl (http://smokeping.tallgrass.nl) http://smokeping.abc.nl/smokeping (http://smokeping.tallgrass.nl/smokeping)
</VirtualHost>
Iam not sure about the Document root. Is there a specific file in the Document root so I can identify the folder as Document root?
And I have been looking for a index.php index.html etc... But couldn't find any.
Thanks in advance!
Configuring a site to shorten the URL is not working as it should.
I'am trying to add smokeping to the sites available and then activate it with a2ensite Smokeping.
After that I reload Apache2 and try to reach the site(smokeping/) but it does not work.
Config:
<VirtualHost *:80>
ServerAdmin support@abc.nl
Servername smokeping.abc.nl
ServerAlias smokeping smokeping.abc.local
Documentroot /usr/share/smokeping/www
Redirect http://smokeping.abc.nl (http://smokeping.tallgrass.nl) http://smokeping.abc.nl/smokeping (http://smokeping.tallgrass.nl/smokeping)
</VirtualHost>
Iam not sure about the Document root. Is there a specific file in the Document root so I can identify the folder as Document root?
And I have been looking for a index.php index.html etc... But couldn't find any.
Thanks in advance!