• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Creating a .htaccess

christiandb

Member
Joined
Feb 5, 2008
Messages
2,469
Reaction score
5
Location
010
I made this .htaccess:
Code:
Order deny,allow
Deny from all
Allow from 127.0.0.1
but it doesn't work. When I try to enter localhost/phpmyadmin it gives the following error:
Code:
Server fout!

De server got an internal bug and can't answer your request. The server is overloaded or there's something wrong with a CGI-script.

Error 500
localhost
11/03/08 19:29:09
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6

Please help me btw I'm using the newest PHPmyadmin

Regards,

Chris

EDIT: this might not be the official error because the error was dutch and I just translated it with my horrible english :).
 
I changed it into this:
Code:
<Limit GET POST>

     order deny,allow

     deny from all

     allow from localhost

</Limit>
and:
Code:
<Limit GET POST>

     order deny,allow

     deny from all

     allow from 127.0.0.1

</Limit>
They both gave me the same error.
 
Doesnt work too. I don't want to move the PHPmyadmin folder to the htdocs folder because that will bring security problems.

Wich type of "SECURITY PROBLEMS"? On the contrary it will be more sure cuz you will be the only one wich will know the path to phpmyadmin... and the phpmyadmin will have an "HTTACCES" wich mean no1 will enter and im almost 100% sure that will not have security problem cuz phpmyadmin is an aplication made on PHP...
 
Back
Top