This forum is no longer active. Please post your questions to our new community site

phpmyadmin on rightscale

Subscribe to phpmyadmin on rightscale 11 post(s), 4 voice(s)

 
Avatar reoster 2 post(s)

i have installed lamp stack on rightscale

i get this following error

For security reasons, this URL is only accesible using localhost (127.0.0.1) as the hostname”

i tried modifying apache httpd.conf
i also tried commenting out the phpmyadmin.conf line and even the file

it just does not work

tell me
i need to install other applications on the image

bye
arun balaji

 
Avatar reoster 2 post(s)

i finally made it work

i installed phpmyadmin again

and it worked

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

We are glad to hear this. Just to clarify, you can find a line in <installation_directory>/apps/phpmyadmin/conf/phpmyadmin.conf file where there is this line:

Allow from 127.0.0.1

You can modify this line to allow from other IP or you can use “Allow from all” to access from everywhere.

 
Avatar sjmohan 8 post(s)

Hi. I modified this line but it still defaults to the page that asks me to log in from 127.0.0.1.

This is how my file reads. What Am I doing wrong:

bq
Alias /phpmyadmin “/bitnami/lampstack/apps/phpmyadmin/htdocs”

<Directory “/bitnami/lampstack/apps/phpmyadmin/htdocs”>
AuthType Basic
AuthName phpMyAdmin
AuthUserFile “/bitnami/lampstack/apache2/users”
Require valid-user
Order allow,deny
Allow from all
Satisfy all
ErrorDocument 403 “For security reasons, this URL is only accesible using localhost (127.0.0.1) as the hostname. Sandeep Mohan”

bq

I even tried modifying config.inc.php and hardcoded it with my EIP but no dice.

Help would be much appreciated.

Thanks,

Sandeep

 
Avatar sjmohan 8 post(s)

I tried adding my name to the end of the error message to see if I got it served back by firefox. It does not. I have permissions so where is it getting this from if not form /bitnami/lampstack/apps/phpmyadmin

 
Avatar victoria Administrator 134 post(s)

Hi Sandeep,

That should work. Did you restart Apache after modifying the configuration file?

Cheers,

Victoria.

 
Avatar sjmohan 8 post(s)

Victoria,

Did’nt work. I rebooted the instance but it still serves up the old error page. The modifications just dont seem to take.

Sandeep

 
Avatar sjmohan 8 post(s)

Victoria,

When I rebooted the instance through right scale, it undid the changes I had made. How can I restart Apache on Bitnami.

Sandeep

 
Avatar sjmohan 8 post(s)

Tried to restart apache in the instance with ctlscript.sh (stop) apache but I keep getting a syntax error.

Can anyone help. I ssh’ed into the instance and am in /bitnami/lampstack

Thanks,

Sandeep

 
Avatar sjmohan 8 post(s)

All set. Got phpmyadmin to work and atrium installed.

Never mind. Thanks for reboot pointer though….

 
Avatar victoria Administrator 134 post(s)

Hi Sandeep,

I’m glad you get it working :)