LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-19-2005, 11:13 AM   #1
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
Apache: prevent logging certain URLs ?


I have a web site that I use phpMyAdmin on (because the MySQL Admiinistrator and Query Browser work poorly for some reason with my installation). I also have analog analysing my log files and displaying them for all to see.

I would like to prevent logging access to the phpmyadmin installtion as it exposes its existance on my server. If possible, really, I'd like to prevent analog displaying it since I should still be able to look at the logs to see if others have accessed it, but just plain not logging it to begin with would work too.

Is there an "Options -Logging"-like directive I can add to an .htaccess file ? I haven't found anything on Google. Any other suggestions ?
 
Old 07-22-2005, 07:48 PM   #2
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Original Poster
Rep: Reputation: 30
PHP Code:
if (!RTFM) {
   
allowed_to_post FALSE;
   
Header ("Location: http://www.analog.cx/docs/Readme.html");

FILEEXCLUDE /admin/*, /wp-admin/*, /forum/admin/*, /phpmyadmin/*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drupal Apache Config problem - incorrect URLS TippExed Linux - Software 0 06-02-2005 06:38 PM
Prevent history logging new@linux Linux - Newbie 3 03-08-2005 11:26 PM
apache proxy server rewrite urls slackwarefan Linux - Software 0 10-19-2004 07:58 PM
Prevent a user from logging into X? sorrodos Linux - Security 6 06-26-2004 03:30 PM
apache and urls ferretmanus Linux - Newbie 1 09-16-2003 01:25 PM


All times are GMT -5. The time now is 12:17 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration