Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > htaccess

htaccess
Thread Tools
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Aug 21, 2005, 05:34 PM
 
i use my home computer right now to test my web file before i publish them..

i was working on a document and i needed an .htaccess file to lock it up. so i go to macupdate and download this:
http://www.macupdate.com/info.php/id/7598
it makes .htaccess files easy instead of my messing with it.
i created a user access file for it and sent it to the directory i wanted and had it create the .htaccess file with the permissions...

now when i browse to it though localhost/Hidden/ it still lets me in and i can go though my files there without having to type in the user and pass stuff...

i opended my httpd.conf and looked at the settings

i dont think it is telling it to use .htaccess as a access override


heres the parts i think is setting up .htaccess not sure if there right
i havnt changed them so i dont know why they are not working...
[
Code:
# # Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # permissions. # <Directory /> Options FollowSymLinks AllowOverride None </Directory> # # This may also be "None", "All", or any combination of "Indexes", # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # Options Indexes FollowSymLinks MultiViews # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride AuthConfig # # AccessFileName: The name of the file to look for in each directory # for access control information. # AccessFileName .htaccess
Edit: ps i just restarted my web server and it is frozen... i cant hit any buttons. how do i stop it using terminal??? i was using the system prefs sharing to start/stop it
     
Fresh-Faced Recruit
Join Date: Aug 2005
Location: Colorado Springs, Colorado
Status: Offline
Reply With Quote
Aug 29, 2005, 09:08 PM
 
You need to change "AllowOverride None" to "AllowOverride All".
Pete Howell
Mecca Hosting - Fast. Reliable. Secure.
     
jay3ld  (op)
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Aug 29, 2005, 10:46 PM
 
still not working.... anything in my http.conf that says AllowOverride has All after it

Edit: finally got it working...
(Last edited by jay3ld; Aug 29, 2005 at 11:27 PM. )
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:26 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2