Aug 31, 2007 #1 akgta Programmer Jul 18, 2007 42 CA How can we allow site users to view contents of subdirectory using .htaccess or any other way. at this moment its giving the following error: 500 internal server error i want the users to see the files of the directory thanks
How can we allow site users to view contents of subdirectory using .htaccess or any other way. at this moment its giving the following error: 500 internal server error i want the users to see the files of the directory thanks
Aug 31, 2007 #2 thedaver IS-IT--Management Jul 12, 2001 2,741 US Remove any "index." files or any other files that meet your defined DirectoryIndex definitions. Folders that do not have an index.htm, index.html, index.php (etc.) will show their folder contents much like an FTP server would. D.E.R. Management - IT Project Management Consulting http://www.dermanagement.com/ Upvote 0 Downvote
Remove any "index." files or any other files that meet your defined DirectoryIndex definitions. Folders that do not have an index.htm, index.html, index.php (etc.) will show their folder contents much like an FTP server would. D.E.R. Management - IT Project Management Consulting http://www.dermanagement.com/
Aug 31, 2007 #3 smah MIS Sep 4, 2002 9,396 US Depending on the configuration of higher level directories, you might need to add an .htaccess file that contains at least: Options +Indexes and in the directory container, you might need: AllowOverride Indexes Upvote 0 Downvote
Depending on the configuration of higher level directories, you might need to add an .htaccess file that contains at least: Options +Indexes and in the directory container, you might need: AllowOverride Indexes
Sep 1, 2007 #4 ilkertanli Programmer Jun 9, 2004 21 US Here is the sample configuration: AuthType Basic AuthName "This is a Private Network Please Enter Your Password" AuthUserFile /var/http://www/.htaccessRequire user john robert And to create .htacess you need to run: $htpasswd -c [file_name] [user_name] In this case it should be look like this: $htpasswd -c .htaccess john $htpasswd -c .htaccess robert Hope It Helps; --ilker Upvote 0 Downvote
Here is the sample configuration: AuthType Basic AuthName "This is a Private Network Please Enter Your Password" AuthUserFile /var/http://www/.htaccessRequire user john robert And to create .htacess you need to run: $htpasswd -c [file_name] [user_name] In this case it should be look like this: $htpasswd -c .htaccess john $htpasswd -c .htaccess robert Hope It Helps; --ilker