Forum   Search   Register   Log in SUPERJER FORUM
 

How do I remove access from a certain page?

Pages: [1]
Computer and Video Games
Rockbomb
Dog fucker

2009 Nov 13 • 1942
-190 ₧
I don't want anyone having access to phpmyadmin on my site. How can I make it so that when people go there it displays a message of my choice?
    2010 Dec 9 at 09:22
buq25

2008 Jul 5 • 471
95 ₧
First, Computer and video games.

second:
    (Edited 2010 Dec 9 at 11:21)     2010 Dec 9 at 11:19
Rockbomb
Dog fucker

2009 Nov 13 • 1942
-190 ₧
First, I already googled it and couldn't find anything.
Second, this is about computers.
    2010 Dec 9 at 11:37
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
If yo disallow access to other people you will also disallow access to for yourself. My I suggest my php login script?
...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Dec 9 at 12:02)     2010 Dec 9 at 12:01
Rockbomb
Dog fucker

2009 Nov 13 • 1942
-190 ₧
It already has a login. I need to dissallow it to everyone except specific IPs that I assign.
    2010 Dec 9 at 12:07
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
This only requires the .htaccess file. There are two approaches to restricting by IP address:

a) deny everyone access, then allow certain hosts/IP addresses

AuthName "Lee's Secret Area"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from 199.166.210.
allow from .golden.net
allow from proxy.aol.com
allow from fish.wiretap.net
</Limit>

b) allow everyone except for certain hosts/IP addresses

AuthName "Lee's Secret Area"
AuthType Basic
<Limit GET POST>
order allow,deny
allow from all
deny from .microsoft.com
deny from .evil-hackers.org
deny from 24.112.106.235
deny from morphine.wiretap.net
</Limit>
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Dec 9 at 12:08
phoenix_r

2009 May 13 • 625
17 ₧
Rockbomb said:
...this is about computers.

Judging by the garage' description, it's about games, be they computer games or console. While there is no general computer discussion, this could fit in 'programming help,' 'requests,' or 'general.' Perhaps you should make a truck in 'requests' requesting a computer garage. Perhaps I should.
    2010 Dec 9 at 14:53
Rockbomb
Dog fucker

2009 Nov 13 • 1942
-190 ₧
So anyways, I found the .htaccess file in my root directory (Ctrl+H), but I really don't know how to go about blocking phpmyadmin, because on my site it shows up as being in the root directory "www.site.com/phpmyadmin", but in reality its in /etc/phpmyadmin. Any ideas?
    2010 Dec 9 at 15:19
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5327
57,583 ₧
I don't know enough about Apache but you should probably check their manual. There might be a symlink from /etc/ to /usr/var/apache/ (is that even right?).
Everyone stares when you walk in the room, they stare when you go....
    2010 Dec 9 at 15:29
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
why is it in etc/? apt-get install phpmyadmin?
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Dec 9 at 15:42
Rockbomb
Dog fucker

2009 Nov 13 • 1942
-190 ₧
sprinkles said:
apt-get install phpmyadmin?

Thats how I installed it, and it installed in my etc directory
    2010 Dec 9 at 15:46
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
I would suggest uninstalling it. Jus' download it and copy pasta that shit. Then use the .htaccess file.
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Dec 9 at 15:50

Pages: [1]
Forum and design copyright © 2008-2010 SuperJer.com