Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 09, 2012 11:59 am 
Offline
Senior Member

Joined: Thu Apr 12, 2012 6:26 am
Posts: 62
Location: Earth
Hi Guys,

I can't use PhpMyAdmin on our server.
12.34.56.78/phpmyadmin does not resolve to the PhpMyAdmin installation on the server.
Neither does, mywebsite1/phpmyadmin

I have phpmyadmin installed at: /var/www/vhost/phpmyadmin and /var/www/vhosts/phpmyadmin
but I can't get to use any one of them.

I'm thinking maybe if I shared my httpd.conf file here, I might get some help.
Maybe someone can spot what I am doing wrong.



Here's a snippet of my Apache httpd.conf file:

Code:
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost *:80>
ServerName mywebsite1.com
ServerAlias www.mywebsite1.com
DocumentRoot /var/www/vhosts/mywebsite1/httpdocs/
<Directory /var/www/vhosts/mywebsite1/httpdocs/>
AllowOverride all
</Directory>
 Alias /phpmyadmin  "/var/www/vhost/phpmyadmin/"
</VirtualHost>



#<VirtualHost *:80>
#Alias /phpmyadmin "/var/www/vhost/phpmyadmin"
#DocumentRoot /var/www/html/phpmyadmin
#<Directory /var/www/html/phpmyadmin>
#AllowOverride all
#</Directory>
#</VirtualHost>


Thanks.


Top
   
PostPosted: Thu Aug 09, 2012 5:26 pm 
Offline
Junior Member

Joined: Sat Feb 18, 2012 12:26 pm
Posts: 24
What does the Apache error log say?

Are the file permissions correct to allow apache / php to read and execute the installation?

Add a Directory directive as well.

Alias /phpmyadmin /var/www/vhost/phpmyadmin
<Directory "/var/www/vhost/phpMyAdmin">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group