VectorLinux
April 18, 2014, 05:51:08 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Xammp problem. Cant acces control panel.[UN-Solved]  (Read 2288 times)
cabu
Packager
Member
****
Posts: 68



WWW
« 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: 2265


« 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



WWW
« Reply #2 on: February 20, 2008, 05:12:23 pm »

thanks i goona try this
Logged
cabu
Packager
Member
****
Posts: 68



WWW
« 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: 2265


« 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:
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



WWW
« 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: 2265


« 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:
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



WWW
« 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


WWW
« Reply #8 on: April 27, 2008, 03: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:
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


WWW
« Reply #9 on: April 27, 2008, 08: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!