very newbie Apache question
on Red Hat 9 Apache 2...
Can access test page (http:\\10.0.0.50) Cannot find where is test page located. Checked /var/www... 1. where is test page? Do I have to replace it? 2.Where I have to copy my web page files? Couldn't find any info in documentation about this simple step. Thanks. Michael. |
All the info and configuration of the Apache web server is in httpd.conf which resides in either:
/etc or /etc/apache/ This file contains everything you'll need to know about YOUR system. Take a read through it, and somewhere in there you'll have a variable for the "Document Root" To find it an easier way, use the command Code:
cat /etc/apache/httpd.conf | grep DocumentRoot That's where you'll want all your web pages to go. Alternatively, you can change the DocumentRoot variable to wherever your web pages are now. -Shade |
Thanks Shade.
I printed httpd.conf and found DocumentRoot "/var/www/html" So I will drop all my files (with index.html) into it. About test page. I wanted to find it for fun because the link to Documentation (on local machine) is unfunctional. I found the problem and want to fix it. the link is .../manual/index.html but in manual folder are 2 different index.html files one index.html.en and second one index.html.fr I will try to find test page. The problem I don't know file name and it's not in www subdirectories. i will try some advices that another people gave me. Eventually I created two treads about the same "stupid" issue. Thanks again. Michael. |
typical installations include /var/www/htdocs/manual/ as the source of documentation.
And yes, you'll have a few index pages for different languages. It's safe to remove what you don't want/need :) -Shade |
All times are GMT -5. The time now is 09:23 AM. |