|
|
serving web pages in Tiger
|
|
|
|
Junior Member
Join Date: Aug 2002
Location: Brooklyn
Status:
Offline
|
|
I was serving web pages in Panther without a problem, but when I upgraded to tiger it knocked out my apache prefs.
I got back php without a problem (instructions here: http://www.phpmac.com/articles.php?view=225 )
But there are 2 things from the old config that I used to have that are now off that I would like back and was wondering if anyone here could help.
On the old config if I put in the directory ie blahblahblah/blah/tiger/ it would automatically look for index.html, index.htm, and index.php now I have to explicitly spell those out. I'd like the old behavior back.
On the old config if I typed in a directory that did not have an index file I would get a directory listing. Now I just get an error unless I type in the exact page.
Any help anyone?
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
Did you try reading the apache configuration file?
/etc/httpd/httpd.conf
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
Junior Member
Join Date: Aug 2002
Location: Brooklyn
Status:
Offline
|
|
yes.... and I found the bit to control the index.html, index.htm and index.php files... but I can't seem to turn on the directory feature for directories without index files. Anyone?
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
This page suggests you have to work with htaccess settings in order to enable virtual directory listings. It is probably disabled in Tiger because the feature is now considered a possible security issue.
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Junior Member
Join Date: Aug 2002
Location: Brooklyn
Status:
Offline
|
|
FYI: The answer is this:
Insert this into httpd.conf:
------------------
Alias /Sites/ "/Users/yourusername/Sites/"
<Directory "/Users/yourusername/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
------------------
Where yourusername = your username.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|