Error 401

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Error 401

Postby avedrozd » 12. January 2011 08:48

Hi All!
I am newby on linux, and lampp.
I start apache with security options and reset all passwords, now i cant acces to my site via browser, mysql administrator, nothing.
What i need to do?
:cry:
avedrozd
 
Posts: 3
Joined: 12. January 2011 08:41

Re: Error 401

Postby Wolfi2001 » 12. January 2011 13:47

/opt/lampp/etc/extra httpd-xampp.conf mit editor offenen
dan nach diser zeile schauen

#
# New XAMPP security concept
#
<LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”>
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16

ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

und dan ender so

#
# New XAMPP security concept (disabled)
#
<LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”>
Order allow,deny
Allow from all
</LocationMatch>

dan im putty

/opt/lampp/lampp restart

und dan gehts
Wolfi2001
 
Posts: 2
Joined: 12. January 2011 11:39

Re: Error 401

Postby avedrozd » 12. January 2011 14:27

Hi.
thenx but,
the problem persist.
I cant access to /localhost/xampp , its ask me about login and pass
and /localhost/anyprogect give me this "Database Error: Unable to connect to the database:Could not connect to MySQL"
avedrozd
 
Posts: 3
Joined: 12. January 2011 08:41

Re: Error 401

Postby Altrea » 12. January 2011 14:29

@Wolfi2001:
Thats not a good idea!

The security concept is important to secure the sensitive parts of the xampp package.
If you make these changes, your server is much more unsecure.

I highly recommend you to roll back the file to it's default.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error 401

Postby avedrozd » 12. January 2011 14:46

Hi
its just a test server on my local machine.
I have few joomla progect on it and need make backuo but cant enter on it.
I dont know what i can do?
Replace som conf files from enother instalation,reinstall the server, reset all passws to empty?
avedrozd
 
Posts: 3
Joined: 12. January 2011 08:41


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests