You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gaming Mouse <ga...@yahoo.com> on 2006/12/06 23:37:27 UTC
[users@httpd] Changing DocumentRoot Doesn't Work
I've installed Apache 2.2 as a manual server (ie, I have to open the
httpd.exe command window to use it) on Win XP Pro. The installation
works fine when I visit:
http://localhost:8080
However, I am now trying to change my htdocs root, because I keep all my
data one the E:\ partition of my HD. I have changed the following 2
lines in my httpd.conf file:
DocumentRoot E:/Documents/htdocs/bj
(I have tried the line above both with and without quotes)
<Directory "e:/documents/htdocs/bj">
I then close the httpd.exe window and reopen it -- to restart apache.
However, Apache still serves the file from the default htdocs directory,
rather than the file in "E:/Documents/htdocs/bj"
I have cleared my cache and tested on 2 different browsers.
What am I still missing?
Thanks,
Jonah
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] MOD PROXY startup error: undefined symbol: ap_proxy_is_word
Posted by Sumit Shah <ss...@gce2000.com>.
Hello All,
I added mod_proxy support on my existing Apache2 installation using 'apxs'.
This is what i did:
prompt> apxs -c -i mod_proxy.c
Then I loaded the module in my httpd.conf.
When I restart Apache i get following error:
Syntax error on line 235 of /home/apache2/httpd/prefork/conf/httpd.conf:
Cannot load /home/apache2/httpd/prefork/modules/mod_proxy.so into
server: /home/apache2/httpd/prefork/modules/mod_proxy.so: undefined
symbol: ap_proxy_is_word
I looked up on Google and I have seen posts where people had to
reinstall Apache. Can we do it on an existing Apache installation?
Thanks
Sumit
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Changing DocumentRoot Doesn't Work
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Gaming Mouse wrote:
> I've installed Apache 2.2 as a manual server (ie, I have to open the
> httpd.exe command window to use it) on Win XP Pro.
> DocumentRoot E:/Documents/htdocs/bj
> <Directory "e:/documents/htdocs/bj">
Ok - that much looks good.
> I then close the httpd.exe window and reopen it -- to restart apache.
>
> I have cleared my cache and tested on 2 different browsers.
It sure sounds like you are doing the right things. Try this - once the
httpd window is closed, look in your Task Manager (rt-click the start bar)
and see that there are no 'apache' or 'httpd' processes running. If there
are, kill them and let us know - terminating the httpd you 'see' in the
console window should be killing them off.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org