The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Apache configuration files missing (http://hintsforums.macworld.com/showthread.php?t=64028)

hayne 12-01-2006 11:25 PM

You are hitting on two things:
1) Apache conforms to the HTTP/1.1 spec for content negotiation (http://httpd.apache.org/docs/1.3/con...gotiation.html) which means that when the browser specifies a preference for English documents, Apache will prefer index.html.en to index.html

2) The DirectoryIndex directive gives a prioritized list of files to be used when a directory URL is received: http://httpd.apache.org/docs/1.3/mod/mod_dir.html

As I said earlier, you really do need to read the docs if you are doing anything out of the ordinary.

hayne 12-01-2006 11:31 PM

Quote:

Originally Posted by 0rthodontist (Post 338707)
tcpdump says "tcpdump: no suitable device found" and quits

I think that is its rather-too-subtle way of saying that you need to run it with root privileges - try prefacing the command with 'sudo'

acme.mail.order 12-02-2006 07:25 AM

Quote:

Originally Posted by hayne (Post 338631)
I suspect that you can't have both PHP4 and PHP5 active at the same time - choose one.

You can, what you can't do is run the same file extension through both versions.

WHY you'd want both of them at once is another issue.
Orthodontist: how did you get PHP5, and are you sure PHP is working?

Create a file in the /Library/Webserver directory called "phpinfo.php" containing the following:

Code:

<p>File loaded. Gobs of PHP info following if PHP is running.</p>
<?php phpinfo(); ?>

and load it with :
http://localhost/phpinfo.php


All times are GMT -5. The time now is 07:13 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.