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 |
Darin McGrew |
Mar 12 2007, 01:40 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Here's the answer for what server is being used:
CODE Server: Microsoft-IIS/6.0 Anyone have experience with MS IIS? |
pandy |
Mar 12 2007, 01:55 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
|
Darin McGrew |
Mar 12 2007, 02:09 AM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
|
Peter1968 |
Mar 12 2007, 04:48 AM
Post
#5
|
Serious Coder Group: Members Posts: 448 Joined: 23-September 06 Member No.: 213 |
IIS isn't as bad as some of the copyleft zealots and MS haters would have you believe it is. Properly configured, it can be as robust and as fast as Apache on Unix, and likewise, properly secured, it can be just as secure. Though, personally, I'll stick with Apache. |
aod1174 |
Mar 13 2007, 09:56 AM
Post
#6
|
Newbie Group: Members Posts: 13 Joined: 9-March 07 Member No.: 2,151 |
Yes I have a control Panel. In fact I serched it for about 3 hours looking for anything I might have missed. I came across one of the sub, sub, sub options.. How nice of it to be so well displayed..lol
Ok heres my situation now. I got the directory tree to show just how I want it to, but for some reason when I click on the link, it doesn't download (Like it should).. So this is now my next problem to deal with.. Any suggestions here? heres the URL for some of the files, the files are in link form, again how they should be, but thier not really links (or so it seems).. You will see what I mean... http://www.ricksfiles.com/CS/cstrike/ |
Lo-Fi Version | Time is now: 23rd April 2024 - 11:18 AM |