URN Logo
UNIX Resources » Linux » Linux Forum » Red Hat Linux Discussions » Page.10 » Apache Documentroot rh9
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Apache Documentroot rh9
Subject: Apache Documentroot rh9
Author: Richard Rees    Posted: 2005-04-24 15:31:22    Length: 706 byte(s)
[Original] [Print] [Top]
Hi All,

I have a problem on a RH9 box. Its going to be used as a web server for
an internal web site. I have configured everything. But when you access
the url you are always sent to the /var/www path and not the path I have
specified. I have completely removed the /var/www reference from the
/etc/httpd/conf/httpd.conf file. Tried setting up a number of Virtual
hosts, but they only page I ever get is /var/www. I have now upgraded to
the newest version and this is still a problem.

Anyone else had a similar experiance ? I have tried using the HttpD gui
to configure the site and Webmin.

Any Help Much Appreciated !!

[Original] [Print] [Top]
Subject: Apache Documentroot rh9
Author: Tim    Posted: 2005-04-25 01:32:20    Length: 2,222 byte(s)
[Original] [Print] [Top]
On Sun, 24 Apr 2005 22:31:22 +0100, Richard Rees wrote:

QUOTE
I have a problem on a RH9 box. Its going to be used as a web server for an
internal web site. I have configured everything. But when you access the
url you are always sent to the /var/www path and not the path I have
specified. I have completely removed the /var/www reference from the
/etc/httpd/conf/httpd.conf file. Tried setting up a number of Virtual
hosts, but they only page I ever get is /var/www. I have now upgraded to
the newest version and this is still a problem.

We really have no idea what you've done.  

*How* have you configured *everything*?  Post configuration files so we
can tell, the main configuration and any virtual hosts.  (You can snip out
all the configuration file comments to make it smaller to post.)

What URIs are you trying to use?  (If you don't want to expose real domain
names, use example.com and example.net in your examples.)

QUOTE
Anyone else had a similar experiance ? I have tried using the HttpD gui to
configure the site and Webmin.

Any Help Much Appreciated !!

"Any help"?  ;-)  Then I'd advise ditching the GUI and Webmin tools, and
manually editing the configuration files to exactly what you intend.  I've
found them to be deficient, and only able to understand configuration
files that they've written themselves (i.e. use more than one tool, and
one does something that upsets the other).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary).  But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.

[Original] [Print] [Top]
Subject: Apache Documentroot rh9
Author: Dungeon' Dave    Posted: 2005-04-28 16:04:45    Length: 1,946 byte(s)
[Original] [Print] [Top]
begin  not.binary!

And Richard Rees [subscription@crosskeysonline.co.uk] confused OE
posters with...
QUOTE
Hi All,

I have a problem on a RH9 box. Its going to be used as a web server for
an internal web site. I have configured everything.

How?

QUOTE
But when you access the url you are always sent to the /var/www path
and not the path I have specified.

Give it an absolute path. My guess is that you've used a relative path,
and it's taking it relative to ServerRoot.

Either that, or you've configured a VirtualHost incorrectly, and it's
landing back on the default DocumentRoot.

QUOTE
Anyone else had a similar experiance ? I have tried using the HttpD gui
to configure the site and Webmin.

Webmin's not bad; I was impressed how it picked up the existing
(manually-edited) configs and presented them graphically. However, the
RH tool for Apache sucks the fat wongo under RH8 - not sure if it's
improved much for RH9.

nb: FWIW, I teach Apache Admin classes. If you want me to take a ganders
at your config files and give you advice outside of here, I'm happy to
do so.
--
"Is my timing that flawed? Our respect run so dry?
Yet there's still this appeal that we've kept through our lives."

[Original] [Print] [Top]
« Previous thread
Permissions
Red Hat Linux Discussions
Page. 10
Next thread »
Holy impenetrable gibberish Batman!
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:18:23, cost 0.057455062866211 ms.