Directory listing does not work
Moderator: General Support Moderators
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Intern
- Posts: 86
- Joined: Fri Dec 26, 2014 12:35 am
Directory listing does not work
Hi Folks, I hope you are doing well.
I have a domain name where I installed Joomla but I am having some trouble.
I the rook directory I have created a folder to save some images that I use in a news letter.
I want to allow directory listing on it so I can use the images that are in it for my design.
Here is the link to this directory:
http://www.murallesenterprises.com/pictures/
The problem is that when I installed Joomla on this domain the directory browsing on the pictures folder stops working.
I get a blank page instead. I am not able to view the contents of this folder.
If I uninstalled Joomla, it works again.
Does anyone know how to fix this problem.
Thanks.
Jorge Murallles
I have a domain name where I installed Joomla but I am having some trouble.
I the rook directory I have created a folder to save some images that I use in a news letter.
I want to allow directory listing on it so I can use the images that are in it for my design.
Here is the link to this directory:
http://www.murallesenterprises.com/pictures/
The problem is that when I installed Joomla on this domain the directory browsing on the pictures folder stops working.
I get a blank page instead. I am not able to view the contents of this folder.
If I uninstalled Joomla, it works again.
Does anyone know how to fix this problem.
Thanks.
Jorge Murallles
- imanickam
- Joomla! Master
- Posts: 28206
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Directory listing does not work
You can access images in the directory where Joomla is installed and its sub-directories. From what you are mentioning, the images you want to access are in a separate directory outside of the directory where Joomla is installed.
I would suggest uploading those images using the Media Manager into the images directory of Joomla! and you would be in a position to access those images.
I would suggest uploading those images using the Media Manager into the images directory of Joomla! and you would be in a position to access those images.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Directory listing does not work
Joomla instructs you to disable directory listing in .htaccess (Options -Indexes). You can change that so it is allowed for your folder. Use the <directory> tag and Options +Indexes within it.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Ace
- Posts: 1460
- Joined: Sat Jan 21, 2006 8:42 pm
Re: Directory listing does not work
You also have to change/comment out IndexIgnore, otherwise no files will be shown.sovainfo wrote:Joomla instructs you to disable directory listing in .htaccess (Options -Indexes). You can change that so it is allowed for your folder. Use the <directory> tag and Options +Indexes within it.
And as a note: You can't use <directory> tag within .htaccess.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Directory listing does not work
Obviously you need to use the <directory> tag where it is allowed. Joomla disables directory listing in .htaccess, which needs to be changed to apache configuration when using <directory> tag to allow it but continue to disallow for joomla folders.
As an alternative you can add an .htaccess with "options +Indexes" in those folders you allow to be listed.
Another alternative would be to move non-joomla stuff outside the joomla folder.
As an alternative you can add an .htaccess with "options +Indexes" in those folders you allow to be listed.
Another alternative would be to move non-joomla stuff outside the joomla folder.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Intern
- Posts: 86
- Joined: Fri Dec 26, 2014 12:35 am
Re: Directory listing does not work
Thank you everyone for the help.
I got it to work.
I am having trouble getting the fancyIndex to work. It does not show the icons.
http://www.uniformescaf.com/pictures/newsletter/
Can anyone tell me how to make that work.
Thanks.
Jorge Muralles
I got it to work.
I am having trouble getting the fancyIndex to work. It does not show the icons.
http://www.uniformescaf.com/pictures/newsletter/
Can anyone tell me how to make that work.
Thanks.
Jorge Muralles
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Directory listing does not work
Why using something that is so dangerous with direct access to your directory system? Why not using a directory component for that? This is actually a very bad solution you are trying to create and very vulnerable
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Ace
- Posts: 1460
- Joined: Sat Jan 21, 2006 8:42 pm
Re: Directory listing does not work
Obviously to you and me, but for most of the users it's not.sovainfo wrote:Obviously you need to use the <directory> tag where it is allowed.
The good way, if you're able to touch this file what most of the users here are not.sovainfo wrote:Joomla disables directory listing in .htaccess, which needs to be changed to apache configuration when using <directory> tag to allow it but continue to disallow for joomla folders.
Still you have to change the .htaccess Joomla! provides and comment out IndexIgnore.sovainfo wrote:As an alternative you can add an .htaccess with "options +Indexes" in those folders you allow to be listed.
Add the following line to your .htaccess to enable fancy indexes:jorgemuralles wrote:I am having trouble getting the fancyIndex to work. It does not show the icons. Can anyone tell me how to make that work.
IndexOptions +FancyIndexing
If you want all folders first than files use:
IndexOptions +FancyIndexing +FoldersFirst
Indexing a folder with only directories and images in it is far far away from being dangerous...leolam wrote:Why using something that is so dangerous with direct access to your directory system?
-
- Joomla! Intern
- Posts: 86
- Joined: Fri Dec 26, 2014 12:35 am
Re: Directory listing does not work
Thanks for all the help.
I have tried everything above, still not working. It must have to do with the Joomla installation.
Thanks anyway.
Jorge Muralles
I have tried everything above, still not working. It must have to do with the Joomla installation.
Thanks anyway.
Jorge Muralles
-
- Joomla! Ace
- Posts: 1460
- Joined: Sat Jan 21, 2006 8:42 pm
Re: Directory listing does not work
Nope it doesn't! Contact your hoster and ask him to get FancyIndexing working.jorgemuralles wrote:I have tried everything above, still not working. It must have to do with the Joomla installation.