Page 1 of 1

Error 401

PostPosted: 12. January 2011 08:48
by avedrozd
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:

Re: Error 401

PostPosted: 12. January 2011 13:47
by Wolfi2001
/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

Re: Error 401

PostPosted: 12. January 2011 14:27
by avedrozd
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"

Re: Error 401

PostPosted: 12. January 2011 14:29
by Altrea
@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.

Re: Error 401

PostPosted: 12. January 2011 14:46
by avedrozd
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?