LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-26-2007, 09:58 PM   #1
linuxham2
LQ Newbie
 
Registered: Sep 2007
Location: USA
Distribution: Suse 10.1
Posts: 2

Rep: Reputation: 0
Unhappy phpMyadmin object not found


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
 
Old 09-27-2007, 02:26 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
try to set an alias to the phpMyAdmin directory
Alias /phpadmin/ "/srv/www/htdocs/phpMyAdmin/"

in httpd.conf. Maybe that helps...
 
Old 09-27-2007, 04:32 PM   #3
linuxham2
LQ Newbie
 
Registered: Sep 2007
Location: USA
Distribution: Suse 10.1
Posts: 2

Original Poster
Rep: Reputation: 0
Talking Answer found

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.
 
Old 08-27-2018, 06:30 PM   #4
kdmiller
LQ Newbie
 
Registered: Aug 2018
Posts: 11

Rep: Reputation: Disabled
your solution

Quote:
Originally Posted by linuxham2 View Post
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.
What did you do to fix this
 
Old 08-27-2018, 06:39 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by kdmiller View Post
What did you do to fix this
You've posted to a thread thats 11 years old, and it's the same issue we're trying to help you with on your own, current, thread.

Please answer the questions in that thread...I think we're getting close over there.

Last edited by scasey; 08-27-2018 at 06:43 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
phpmyadmin - Object Not Found today53 Linux - Server 10 04-07-2007 09:25 AM
apache: Object not found! How to redirect xpucto Linux - Server 1 03-15-2007 03:11 PM
phpMYAdmin woes - files not found prodigal Linux - Software 3 07-06-2004 05:31 PM
User [blank] not found.. phpmyadmin error? Transition Linux - Newbie 1 02-03-2004 05:35 PM
Apache - PHPMyAdmin - page not found jriis Linux - Software 1 01-07-2004 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration