I would like to allow directory listing of a folder in my webroot. This is where i installed serendipity. www.kanoner.org. I would like to allow dir listing in www.kanoner.org/smil
I put a htaccess file with "Options +Indexes" in it and saved it without any extension (like txt) in ultraedit.
But when i open www.kanoner.org/smil it directs me to my blogg.
Any idea how I can solve this.
Allow directory listing of folder
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Allow directory listing of folder
Hi!
If you use mod_Rewrite, you also need to enter "RewriteEngine Off" inside your .htaccess. You might also needto set "DirectoryIndex none.php" or sth like that to prevent that s9y uses the /index.php file.
Regards,
Garvin
If you use mod_Rewrite, you also need to enter "RewriteEngine Off" inside your .htaccess. You might also needto set "DirectoryIndex none.php" or sth like that to prevent that s9y uses the /index.php file.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Allow directory listing of folder
Hello All,
Seemingly just after writing to my .htaccess file and uploading it to the server I got the following when trying to access my blog:
Forbidden
You don't have permission to access /serendipity/ on this server.
You may need to create an index.html page or enable the directory browsing by creating an .htaccess file containing "Options +Indexes".
--------------------------------------------------------------------------------
Apache/1.3.39 Server at http://www.neterm.net Port 80
What I wrote in my .htaccess file was:
deny from 76.112.58.214
deny from 76.112.58.
Adding "Options +Indexes" didn't help. In the meantime spam is being written to my guestbook. Help.
~Ed587
Seemingly just after writing to my .htaccess file and uploading it to the server I got the following when trying to access my blog:
Forbidden
You don't have permission to access /serendipity/ on this server.
You may need to create an index.html page or enable the directory browsing by creating an .htaccess file containing "Options +Indexes".
--------------------------------------------------------------------------------
Apache/1.3.39 Server at http://www.neterm.net Port 80
What I wrote in my .htaccess file was:
deny from 76.112.58.214
deny from 76.112.58.
Adding "Options +Indexes" didn't help. In the meantime spam is being written to my guestbook. Help.
~Ed587
The best,
~Ed
~Ed
Re: Allow directory listing of folder
sorry about the double post, I requoted so I could be notified when there is a replyed587 wrote:Hello All,
Seemingly just after writing to my .htaccess file and uploading it to the server I got the following when trying to access my blog:
Forbidden
You don't have permission to access /serendipity/ on this server.
You may need to create an index.html page or enable the directory browsing by creating an .htaccess file containing "Options +Indexes".
--------------------------------------------------------------------------------
Apache/1.3.39 Server at http://www.neterm.net Port 80
What I wrote in my .htaccess file was:
deny from 76.112.58.214
deny from 76.112.58.
Adding "Options +Indexes" didn't help. In the meantime spam is being written to my guestbook. Help.
~Ed587
The best,
~Ed
~Ed
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Allow directory listing of folder
Hi!
It seems the "Deny" option is not allowed from your server config. The "options +indexes" must be written to your VHost configuration file, it cannot be done within the .htaccess.
Regards,
Garvin
It seems the "Deny" option is not allowed from your server config. The "options +indexes" must be written to your VHost configuration file, it cannot be done within the .htaccess.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Allow directory listing of folder
Hiya Garvin,garvinhicking wrote:Hi!
It seems the "Deny" option is not allowed from your server config. The "options +indexes" must be written to your VHost configuration file, it cannot be done within the .htaccess.
Regards,
Garvin
I appreciate your reply. I assume this is something my hosting company admin will have to write? What has caused the files to be Forbidden all of a sudden? It can't be what I wrote in .htaccess can it?
Would they have locked the files if I was being attacked by spammers?
What does anyone suggest I do at this point to get things working again?
The best,
~Ed
~Ed
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Allow directory listing of folder
Hi!
Indeed this should be caused by your "Deny" rule. If you remove that from .htaccess, it should work again!
Regards,
Garvin
Indeed this should be caused by your "Deny" rule. If you remove that from .htaccess, it should work again!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Allow directory listing of folder
Thanks again Garvin, removed the last two of my Deny statements and things are working again. Was it the syntax I was using because in the body of my .htacess I have the following: deny from .stade.fr deny from 194.116.143.25garvinhicking wrote:Hi!
Indeed this should be caused by your "Deny" rule. If you remove that from .htaccess, it should work again!
Regards,
Garvin
Things are working with these statements in the .htaccess.
I decided to remove my guestbook. I have Spam Protector plugin working and Spam Protector (RBL) working but I'm still getting blasted. Bummer.
~Ed587
The best,
~Ed
~Ed
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Allow directory listing of folder
Hi!
Ah, this can be. IP adre
Regards,
Garvin
Ah, this can be. IP adre
Phew, sadly I don'T use those Deny rules that often; i don't know if wildcard matching through X.X.X. is allowed...?!Thanks again Garvin, removed the last two of my Deny statements and things are working again. Was it the syntax I was using because in the body of my .htacess I have the following: deny from .stade.fr deny from 194.116.143.25
Things are working with these statements in the .htaccess.
Did you enable the Captcha option of the spam protector? That should usually get rid of it!I decided to remove my guestbook. I have Spam Protector plugin working and Spam Protector (RBL) working but I'm still getting blasted. Bummer.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Allow directory listing of folder
Garvin,garvinhicking wrote:Hi!
Ah, this can be. IP adrePhew, sadly I don'T use those Deny rules that often; i don't know if wildcard matching through X.X.X. is allowed...?!Thanks again Garvin, removed the last two of my Deny statements and things are working again. Was it the syntax I was using because in the body of my .htacess I have the following: deny from .stade.fr deny from 194.116.143.25
Things are working with these statements in the .htaccess.
Did you enable the Captcha option of the spam protector? That should usually get rid of it!I decided to remove my guestbook. I have Spam Protector plugin working and Spam Protector (RBL) working but I'm still getting blasted. Bummer.
Regards,
Garvin
I've put a month of Sundays into trying to get the Captcha option working with no luck. I will try again today. I'll start fairly fresh and uninstall/reinstall the plugins and see what happens. Thanks for the help.
The best,
~Ed587
The best,
~Ed
~Ed