linuxtricks
IS-IT--Management
I have been modifying pages on my newly configured Apache server... when I noticed the changes weren't published.
I immediately checked my httpd.conf file to see what was happening. It read the following:
DocumentRoot "/usr/local/apache/htdocs"
Which is where I've been saving pages to, and where I like it.
However, upon further investigation, I noticed that there is another httpd.conf file in another directory... which happens to be the one Apache is accessing.
The one I thought Apache was using:
[red]/usr/local/apache/conf/httpd.conf[/red]
The one Apache is really using:
[red]/etc/httpd/conf/httpd.conf[/red]
My 1st question is:
Why are there (2) copies of this file?
2nd question:
Because I have modified the first file already, is there someway to point apache to the file I modified?
Thank you for any help you can give.
-halfcircles
[sig]<p> <br><a href=mailto: > </a><br><a href= > </a><br><i>try not!</i><br>
<i>do... or do not. there is no try!</i>[/sig]
I immediately checked my httpd.conf file to see what was happening. It read the following:
DocumentRoot "/usr/local/apache/htdocs"
Which is where I've been saving pages to, and where I like it.
However, upon further investigation, I noticed that there is another httpd.conf file in another directory... which happens to be the one Apache is accessing.
The one I thought Apache was using:
[red]/usr/local/apache/conf/httpd.conf[/red]
The one Apache is really using:
[red]/etc/httpd/conf/httpd.conf[/red]
My 1st question is:
Why are there (2) copies of this file?
2nd question:
Because I have modified the first file already, is there someway to point apache to the file I modified?
Thank you for any help you can give.
-halfcircles
[sig]<p> <br><a href=mailto: > </a><br><a href= > </a><br><i>try not!</i><br>
<i>do... or do not. there is no try!</i>[/sig]