Apache Set Up?
Debian seems to have apache running just fine on my server:
Link My question is how do I get Apache now to display a index file I just created to show my website is under construction rather than the generic Apache website page. I have one index file and one .jpg associated w/ the index.html page. Now my question is where do I place the 2 under? My guess would be /var/www/apache2-default Here are the two files with their associated permissions so thay may need to be modified before Apache is able to display them: -rw-r--r-- 1 root root 302 2005-08-29 05:43 index.html -rw-r--r-- 1 root root 252856 2005-08-28 21:06 infection.jpg Thanks for any assistance. |
I believe you can put it right in /var/www .
If you look at the config file for the default site in /etc/apache2/sites-available/ - it does a redirect to the apache2-default until you do something else, I personally disable that part from the config. |
Ah, because I just edited my /var/www/apache2-default/index.htm.en file.
Once I add my own personal index file to /var/www, can I delete the "apache2-default" folder? |
I moved my index.html file and associated .jpg file that links in the index.html to /var/www and it failed to display my index.html page. I had to move it back to /var/www/apache2-default in order to fix it again.
What am I doing wrong? |
All times are GMT -5. The time now is 12:28 AM. |