Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We are running a Suse 10.1 webserver for website development and testing. We use vhosts so that several sites under development can be supported at once. Sites are accessed as "192.168.1.154/~username/webpagename" from the development machines. We use mySQL databases and would like to use phpMyAdmin.
The latest version of phpMyAdmin was downloaded and all components unloaded into the directory "/srv/www/htdocs/phpMyAdmin". When we attempt to run this as "192.168.1.154/phpMyaAdmin" we get an ojbect not found error. Upon checking the error_log I find that the file that was not found is "/home/user1/public_html/phpMyAdmin" Apache is looking for the file using the first vhosts entry in vhosts.conf.
I've done this in the past because requests that did not begin with a "~" and a username were handled by the default-server functions, which I believe I have set up properly.
Any help on how to run a mix of vhosts type sites and non-vhosts site on the same machine would be appreciated.
Last edited by linuxham2; 09-26-2007 at 09:59 PM.
Reason: mispelled words
Have spent much time researching this and may have found the answer. It appears that with Apache 2 you don't have a default server anymore once you declare a vhost. The first vhost entry becomes the default, exactly what I am seeing. Seems everyone gets around this with a "default" vhosts entry so I'll try that.
Have spent much time researching this and may have found the answer. It appears that with Apache 2 you don't have a default server anymore once you declare a vhost. The first vhost entry becomes the default, exactly what I am seeing. Seems everyone gets around this with a "default" vhosts entry so I'll try that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.