Hosting problem, server is setup to prevent directory listing |
Hosting problem, server is setup to prevent directory listing |
aod1174 |
Mar 10 2007, 04:38 AM
Post
#1
|
Newbie Group: Members Posts: 13 Joined: 9-March 07 Member No.: 2,151 |
ok heres my situation. I recently got web hosting from a popular company (not sure I can mention the name). I got the hosting for a game I play. It's a first person shooter that requires several different files. The game allows clients to be able to download the files from an outside (http) source. Now in the past I have set this up with no problems, but this time theres a problem. It seems that the company I used blocks directory listing of files, which is needed for what I want. I called my company asking if they could fix this, all they said was "You need to create a .htaccess file for this to work". That was as much help as they could be. So seeing as I know NOTHINg of .htaccess files I browsed the net.
From what I make of it, I just open up notepad add a line of text Options +Indexes Click SAVE AS and title it .htaccess then upload it and edit the file name, cause windows does not allow blank names, so it becomes .htaccess.txt... Now I did this with no luck, so I'm guessing I am doing something wrong.. heres my questions: Is that the correct way to make a .htaccess file? Where should the .htaccess file be placed? The files I need are in a folder, so the directory path would look something like this http://www.anysite.com/Foldername/ And then there should be a list of files and other folders (The file/folder structure has to remain in tact) Is there an easier way to do what I'm looking to do? If I haven't made myself clear and you have any questions, please feel free to ask.. Thanks in advance for any help you can be |
aod1174 |
Mar 10 2007, 05:46 AM
Post
#2
|
Newbie Group: Members Posts: 13 Joined: 9-March 07 Member No.: 2,151 |
But thats the thing.. I did all that and it's still not working.. Thats where I'm lost.. Not sure if I'm allowed to post a link here, but I believe I can post a URL to a screen shot (I hope anyway)..
http://img147.imageshack.us/img147/4241/zzzzzzzzzzzcc6.jpg As you can see here, thats the message I get when I try to go to the folder via the HTTP path.. maybe this might help. the server is a windows server, It has the root folder, ion which the folder I am trying to access is in. In the folder I want to access there are 5 other folders as well as other files... Not sure if any of that makes a difference, but figured adding it couldn't hurt.. |
Lo-Fi Version | Time is now: 27th April 2024 - 02:35 PM |