Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 12:19 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
Posted: Sun Nov 08, 2009 9:34 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 17, 2006 6:10 pm
Posts: 70
Hi,

I need some help in the following questions below:

First question:

Why enabled the directory listing on the following directories?

Code:
mydomain.com/mod_jatabs/
mydomain.com/mod_JoomlaAddThis/
mydomain.com/mod_jw_sir/
mydomain.com/mod_novasfh/


I am using the last (1.5.15) Joomla's standard .htaccess file. On other directories I cannot list the directory but the above I can. How do I disable it in the .htaccess instead of using a new .htaccess with the "IndexIngnore *" command?

Second question:

I have uncommented the lines in the new .htaccess (Joomla's 1.5.15 htaccess.txt), but the XML files still can be opened.

Code:
## Deny access to extension xml files (uncomment out to activate)
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy all
</Files>


Any idea?

Thanks in advance!

Regards,
theblase

_________________
--
Regards,
TheBlase


Top
  E-mail  
 
Posted: Sun Nov 08, 2009 9:54 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 17, 2006 6:10 pm
Posts: 70
I have found the solution to my second question. Add this new line (marked with bold) to the .htaccess file:

## Deny access to extension xml files (uncomment out to activate)

RedirectMatch 403 (?:/plugins/[^/]*/[^/]*|(?:/administrator)?/(?:components|modules)/(?:com|mod)_([^/]*)/(?:(?:com|mod)_)?\1)\.xml$
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files


And now it is working!!!

Any idea to my first question?

Thanks,
theblase

_________________
--
Regards,
TheBlase


Top
  E-mail  
 
Posted: Sun Nov 08, 2009 9:40 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Thu Aug 18, 2005 2:09 am
Posts: 2819
Location: California
theblase wrote:
Hi,

I need some help in the following questions below:

First question:

Why enabled the directory listing on the following directories?

Code:
mydomain.com/mod_jatabs/
mydomain.com/mod_JoomlaAddThis/
mydomain.com/mod_jw_sir/
mydomain.com/mod_novasfh/


I am using the last (1.5.15) Joomla's standard .htaccess file. On other directories I cannot list the directory but the above I can. How do I disable it in the .htaccess instead of using a new .htaccess with the "IndexIngnore *" command?


This code is not in the core htaccess.txt file.
The upgrade does not affect the .htaccess file, only the htaccess.txt file.
These must be changes you made previously.
.

_________________

██ AllVideos Reloaded extension Help forum

http://joomlacode.org/gf/project/allvideos15/forum/?action=ForumBrowse&forum_id=7581


Top
   
 
Posted: Mon Nov 09, 2009 5:42 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 17, 2006 6:10 pm
Posts: 70
Ok, but how do I disable the directory listing on the following directories in the .htaccess file?

mydomain.com/mod_jatabs/
mydomain.com/mod_JoomlaAddThis/
mydomain.com/mod_jw_sir/
mydomain.com/mod_novasfh/

???

_________________
--
Regards,
TheBlase


Top
  E-mail  
 
Posted: Tue Nov 17, 2009 7:33 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Aug 24, 2005 9:34 am
Posts: 662
Location: Bodø, Norway
If you google "disable directory listing htaccess", you will find your answer. Easily.

_________________
Torkil Johnsen
BEDRE Reklame as - http://www.bedre.no
twitter.com/BEDREreklame


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Quick reply

 



Who is online

Users browsing this forum: baciotti, Ian09, irish_loco, jupiterGirl and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group