VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Xammp problem. Cant acces control panel.[UN-Solved]  (Read 2657 times)

cabu

  • Packager
  • Member
  • ****
  • Posts: 68
    • El Club Del Alpedismo
Xammp problem. Cant acces control panel.[UN-Solved]
« on: February 20, 2008, 11:29:06 am »

Hello:
      i just install Xammp (php + mysql server) and i cant enter to the contro panel (http://localhost/xampp) becouse i dont have the permitions. I own the folder recusive. and nothing. i put the folder accesible for anyone (chmod 777 -R /opt/lammp/ and i can enter. However i cant use PHPAdmin becous it warning me. "This page sould no be accesible from World"..
Any ideas?

See ya cabu
« Last Edit: February 25, 2008, 02:07:26 pm by cabu »
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: Xammp problem. Cant acces control panel.
« Reply #1 on: February 20, 2008, 02:43:06 pm »

Hi cabu, take a look at the .htaccess file in all the folders under /opt/lampp/htdocs
You can rename them for testing.

Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

cabu

  • Packager
  • Member
  • ****
  • Posts: 68
    • El Club Del Alpedismo
Re: Xammp problem. Cant acces control panel.
« Reply #2 on: February 20, 2008, 05:12:23 pm »

thanks i goona try this
Logged

cabu

  • Packager
  • Member
  • ****
  • Posts: 68
    • El Club Del Alpedismo
Re: Xammp problem. Cant acces control panel.
« Reply #3 on: February 25, 2008, 02:06:17 pm »

I cannot find this file. whoever i find this. But i dont know who to let me in...

file:///opt/lampp/htdocs/xampp/sqlite/.htaccess
file:///opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/Cache/tmp/.htaccess
file:///opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/autoBracesOff/tmp/.htaccess
file:///opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/fullFeatured/tmp/.htaccess
file:///opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/includes/tmp/.htaccess
file:///opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/simple/tmp/.htaccess
file:///opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/xmlConfig/tmp/.htaccess
file:///opt/lampp/phpmyadmin/libraries/.htaccess
---------------------------------------In the file ------------------------------------
# nobody should be able to access this directory by http (oswald, 31oct03)
AuthName "impossible"
AuthType Basic
require valid-user
--------------------------------------------------------------------------------------
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: Xammp problem. Cant acces control panel.[UN-Solved]
« Reply #4 on: February 25, 2008, 02:27:48 pm »

Hmm, those are ok, must be one on the htdocs directory or in the htdocs/xampp directory.
Do you get something like this?

Quote
Forbidden

You don't have permission to access /xampp on this server.

Oh, to be sure, try the find command as root to list all the .htaccess files under /opt/lampp:

Code: [Select]
find /opt/lampp -name .htaccess
« Last Edit: February 25, 2008, 02:29:58 pm by rbistolfi »
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

cabu

  • Packager
  • Member
  • ****
  • Posts: 68
    • El Club Del Alpedismo
Re: Xammp problem. Cant acces control panel.[UN-Solved]
« Reply #5 on: February 25, 2008, 03:18:22 pm »

yes, i have this error "You don't have permission to access /xampp/ on this server."
but the list is the same than i already post.
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: Xammp problem. Cant acces control panel.[UN-Solved]
« Reply #6 on: February 25, 2008, 04:00:28 pm »

That message is surely caused by an htaccess file, afaik.
Here is my list:

Code: [Select]
root:# find /opt/lampp/ -name .htaccess
/opt/lampp/htdocs/vector/Packages/backups/.htaccess
/opt/lampp/htdocs/vector/attachments/.htaccess
/opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/Cache/tmp/.htaccess
/opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/autoBracesOff/tmp/.htaccess
/opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/fullFeatured/tmp/.htaccess
/opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/includes/tmp/.htaccess
/opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/simple/tmp/.htaccess
/opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/xmlConfig/tmp/.htaccess
/opt/lampp/phpmyadmin/libraries/.htaccess

I just remove the ones from the htdocs folder and I can access the xampp folders just fine, I wonder why is not working for you.
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

cabu

  • Packager
  • Member
  • ****
  • Posts: 68
    • El Club Del Alpedismo
Re: Xammp problem. Cant acces control panel.[UN-Solved]
« Reply #7 on: February 25, 2008, 05:25:49 pm »

well.. i gonna try to reinstall it and read again de DOC from the web page...
I tell you any news...
Logged

benke

  • Member
  • *
  • Posts: 4
    • Petar Benke Online
Re: Xammp problem. Cant acces control panel.[UN-Solved]
« Reply #8 on: April 27, 2008, 04:31:18 am »

Hi everybody.

I installed XAMPP using Gslapt. I noticed that whole installation went to /opt/lampp/ with ownership of benke.benke (instead of root.root). When I tried to open http://127.0.0.1/xampp/ I got error

Code: [Select]
Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/index.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/xampp/index.php:2) in /opt/lampp/htdocs/xampp/index.php on line 4

When I changed /opt/lampp/htdocs/xampp/lang.tmp to be writable by others, XAMPP Control panel page opened. Who should be the owner of /opt/lampp/ and /opt/lampp/htdocs/ files and what permission to put on /opt/lampp/htdocs/xampp/lang.tmp?
Logged

benke

  • Member
  • *
  • Posts: 4
    • Petar Benke Online
Re: Xammp problem. Cant acces control panel.[UN-Solved]
« Reply #9 on: April 27, 2008, 09:02:35 am »

Downloaded XAMPP from http://www.apachefriends.org/en/xampp-linux.html, installed and everything works out of box. Something is weird with XAMPP package for VectorLinux...
Logged