Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th February 2007, 10:27 AM
hvrossum Offline
Registered User
 
Join Date: Sep 2005
Posts: 58
change root directory of http server??

HI,

I am running an FC3 Core box with several webservers.

I noticed that when I start the web browser with localhost I get into one of the virtual servers.
When checking with Webmin I noticed that the standard server is just /var/www/html, but when I browse localhost I end up in a subdir.
How can I change this. I would like to have it stay in var/www/html so I can than type /virtualserverx after localhost to get to the wanted virtual server or go to phpadmin, which I also installed in a /var/www/html dubdir but only works whan I put it in the subdir with the virtual server which I get presented when I type localhost.

Can anybody help me with this. I don't seem to be able to find the specified file.

Thanks
Harry
Reply With Quote
  #2  
Old 22nd February 2007, 05:51 AM
barf Offline
Registered User
 
Join Date: Dec 2004
Location: New Zealand
Age: 58
Posts: 266
Hard to help you from the scant info but it sounds like you need to edit your /etc/httpd/conf/httpd.conf file.
Not quite sure how you have several webservers running I am assuming one server but several virtual servers. No idea of your experience level but Stanton Finley has set up guides you may find useful (google Stanton Finley).
Reply With Quote
Reply

Tags
change, directory, http, root, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp in Fedora Core 10, 500 OOPS: cannot change directory: /root bghayad Using Fedora 0 13th June 2009 01:05 PM
Directory Server - MS .net Client LDAP Communication Change xtopher.brandt Servers & Networking 0 3rd June 2009 07:12 PM
How can I change the root password of MYSQL server Muideen Installation and Live Media 8 19th March 2009 06:42 PM
mount: error mounting /dev/root on /sys/root as ext3: no such file or directory nutty Hardware & Laptops 0 12th February 2009 11:00 PM
How to change root document directory in Apache? BandC Using Fedora 4 4th March 2005 06:00 AM


Current GMT-time: 08:08 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat