Help with conf files for xampp
Posted: 10. March 2020 06:43
Hi,
I initially had Apache2 installed and working with my static IP # available from the net but as I was having trouble getting php going with it, I decided I would go with Xampp as it had all components I needed.
In the orig Apache2 install I had the .conf files for all my websites and they all worked. eg..
In etc/Apache2/ I created these folders...
I have copied all the html folders with their websites in them from
but am not sure how to get the websites seen.
I guess it is something to do with the hosts and conf files.
http://localhost/dashboard/ shows me the correct Apache 2 page but when I enter localhost/websiteone
I get the index page with the directories listed not the actual html page and images as I did in the first Apache2 install not xampp.
Any help please?
oz
I initially had Apache2 installed and working with my static IP # available from the net but as I was having trouble getting php going with it, I decided I would go with Xampp as it had all components I needed.
In the orig Apache2 install I had the .conf files for all my websites and they all worked. eg..
In etc/Apache2/ I created these folders...
conf-available
conf-enabled
sites-avaialble
sites-enabled
mods-available
mods-enabled
I have copied all the html folders with their websites in them from
var/www/html to opt/lampp/htdocs
but am not sure how to get the websites seen.
I guess it is something to do with the hosts and conf files.
http://localhost/dashboard/ shows me the correct Apache 2 page but when I enter localhost/websiteone
I get the index page with the directories listed not the actual html page and images as I did in the first Apache2 install not xampp.
Any help please?
oz