SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old February 13th, 2001, 06:28 AM
linuxaator linuxaator is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Estonia
Posts: 38 linuxaator User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 10 m 15 sec
Reputation Power: 8
Hi!

I have a virtual server (Linux&Apache) with ftp-access. I want to protect one subdirectory with password, but the only thing i know is that it needs .htaccess file.

Question: Can i do it myself and how or do i need to contact server administrator?

thanks,
martin

Reply With Quote
  #2  
Old February 13th, 2001, 09:45 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Can i do it myself

Yes, that's what .htaccess is for most of the time.

>> do i need to contact server administrator?

Not at all, you can test it yourself whether or not your server allows you to use .htaccess.

You can test Directory browsing, say http://www.yourdomain.com/test/ currently shows the directory listing, you just need to create an .htaccess file with "Options -Indexes" (without quotes) in it, then upload it to the test directory, then try to access to /test directory again, if it says [403] error, then your server has .htaccess enabled for their clients.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Protecting directory


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway