Jump to content
The Uniform Server Community

Security


Curious
 Share

Recommended Posts

Hello to all!

This is a great product. I love this server Uniformserver. I am new to this and so far it is easy to use.

 

My question?

How do I go about securing my pages. I've used control panels on hosting companies sites. I could tell the server not to let someone into a certain file. By the way, I am very new at running a server.

 

My goal is as follows...

If you went to my site and went to the photo gallery, the url would be something like this: www.mysite.com/gallery/index.html

Pretty straight forward!

Now if you typed this: www.mysite.com/gallery/

Then you could see a list of other items that is in that directory.

 

I've noticed this alot on different websites!! You pretty much get to look under their skirt :D

 

I want to prevent this from happening. Can someone help me out?

 

I run windows xp pro and I did not yet install Unitray or the other plug ins. I will be installing tonite. Maybe unitray will take care of this??

 

Great forum. The help is great!! :D

Link to comment
Share on other sites

Now if you typed this: www.mysite.com/gallery/

Then you could see a list of other items that is in that directory.

 

 

 

 

Hi,

 

This is done by adding a index.html or index.htm page in that directory.

 

If this isn't working, you have to change the conf. file for Apache on the server. For Uniserver this file is found here:

W:\usr\local\Apache2\conf\httpd.conf

 

Find this line: (it's line no 381 in my file)

DirectoryIndex index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi

 

Add file types to look for there.

 

If you want to change that for only one directory. You can create a empty notepad file and add that line. Then save the file as .htaccess in the directory.

 

/BK

Link to comment
Share on other sites

It has already been set in the httpd.conf file so do not mess with it unless you know what you are doing. Use the .htaccess file to set it to anything other than index.ext or default.ext which we have already pre-set.

 

If you say you are using the Uniform Server then it should automatically show the index.html file cause that has been pre-set.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...