Strange apache2 error_log entry

Every few seconds an entry "/var/empty/server-status" appears in the apache2 error_log (Mac OS X Server 10.6.7). What is the meaning of this? Also, I do not know what instance is writing to this log since each website writes to its own error log. Is it apache2 itself?

I solved my problem by creating a (empty) folder in /var/empty/ named "server-status". The error log no longer gets populated with the error entries. However, I ask myself, isn't this solution equally empty-headed?

Similar Messages

  • Weird error_log entries and apache crashing

    Hi, I've got a 3.0.9.8.1 install on NT4 SP6 against a 8.1.7.1.1 EE db.
    After a couple of hours use I received a 503 time out error whilst creating a QBE Report. Bouncing Apache and db brought it back up and running and the report seemed ok.
    Taking a look in the error_log file I noticed these entries. Can anyone shed any life on what is happening here?
    Sorry for the long error log entry....
    ORA-06512: at "PORTAL30.WWSBR_IMT_SERVICES", line 364
    ORA-06512: a..
    [Mon Aug 06 17:00:07 2001] [warn] mod_plsql: Stale Connection due to Oracle error 20100
    [Mon Aug 06 17:00:07 2001] [error] mod_plsql: /pls/portal30/PORTAL30.wwsbr_imt_services.GenericView ORA-20100
    ORA-20100:
    ORA-06512: at "PORTAL30.WWSBR_STDERR", line 437
    ORA-06512: at "PORTAL30.WWV_SEARCHDB", line 31
    ORA-00903: invalid table name
    ORA-06512: at "PORTAL30.WWSBR_IMT_SERVICES", line 145
    ORA-20100:
    ORA-20100:
    ORA-06512: at "PORTAL30.WWSBR_STDERR", line 437
    ORA-06512: at "PORTAL30.WWV_SEARCHDB", line 31
    ORA-20000: interMedia Text error:
    DRG-50857: oracle error in dretbase
    ORA-00600: internal error code, arguments: [], [], []..
    [Mon Aug 06 17:00:35 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwsbr_ui_bulkaction.search_wrapper had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:01:30 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwexp_api_engine.action had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:01:56 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwexp_render.show_tree had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:11:07 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwexp_api_engine.action had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:11:38 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwapp_app_explorer.access_form had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:11:40 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwapp_app_explorer.access_form had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:11:52 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwexp_api_engine.action had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:12:52 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwv_builder.accept had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:13:56 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwv_builder.accept had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:14:04 2001] [warn] mod_plsql: /pls/portal30/PORTAL30.wwv_builder.accept had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    [Mon Aug 06 17:14:37 2001] [warn] mod_plsql: Stale Connection due to Oracle error 12571
    [Mon Aug 06 17:14:37 2001] [error] mod_plsql: /pls/portal30/PORTAL30.wwv_component_control.run_as_portlet ORA-12571
    ORA-12571: TNS:packet writer failure
    [Mon Aug 06 17:14:37 2001] [warn] mod_plsql: Stale Connection due to Oracle error 3114
    [Mon Aug 06 17:14:41 2001] [warn] mod_plsql: Stale Connection due to Oracle error 12571
    [Mon Aug 06 17:14:41 2001] [error] mod_plsql: /pls/portal30/PORTAL30.wwv_component_control.run_as_portlet ORA-12571
    ORA-12571: TNS:packet writer failure
    [Mon Aug 06 17:14:41 2001] [warn] mod_plsql: Stale Connection due to Oracle error 3114
    [Mon Aug 06 17:14:44 2001] [warn] mod_plsql: Stale Connection due to Oracle error 12571
    [Mon Aug 06 17:14:44 2001] [error] mod_plsql: /pls/portal30/PORTAL30.wwv_component_control.run_as_portlet ORA-12571
    ORA-12571: TNS:packet writer failure
    [Mon Aug 06 17:14:44 2001] [warn] mod_plsql: Stale Connection due to Oracle error 3114
    [Mon Aug 06 17:14:51 2001] [warn] mod_plsql: Stale Connection due to Oracle error 12571
    [Mon Aug 06 17:14:51 2001] [error] mod_plsql: /pls/portal30/SCOTT.QBE_EMPS.show ORA-12571
    ORA-12571: TNS:packet writer failure
    [Mon Aug 06 17:14:51 2001] [warn] mod_plsql: Stale Connection due to Oracle error 3114
    [Mon Aug 06 17:15:11 2001] [warn] mod_plsql: Stale Connection due to Oracle error 3114
    [Mon Aug 06 17:15:11 2001] [error] mod_plsql: /pls/portal30/PORTAL30.wwv_builder.edit HTTP-503 ORA-12571 <B>Client Logon Failed with error : 12571</B><BR><B>Reset Session Call also failed with error : 3114</B><BR>
    [Mon Aug 06 17:16:04 2001] [warn] mod_plsql: Stale Connection due to Oracle error 12571
    [Mon Aug 06 17:16:04 2001] [error] mod_plsql: /pls/portal30/portal30.home HTTP-503 ORA-12571 <B>Call to WPG_SESSION API Failed.</B><BR>
    null

    A couple of extra things to add. During the 3.0.9.8.1 patch I replaced the wwpage.jar file but wasn't too sure of the exact format to use for minInstall and minTimeout parameters in the zone.properties file. Can someone indicate how this should be.
    Also after the 9iAS base install, prior to running the OPCA I ran in the following script as SYS. vpdctx.sql

  • Strange empty NAT entry

    Hi All,
    What's causing some work stations to create this strange NAT entry with no protocol defined and no Outside local and Outside global.
    core2#sh ip nat trans | inc 172.16.75.139
    Pro Inside global Inside local Outside local Outside global
    --- 210.15.240.9 172.16.75.139 --- ---
    tcp 210.15.240.9:5380 172.16.75.139:5380 61.137.191.125:80 61.137.191.125:80
    Any ideas?
    Thanks.
    Andy

    Hi Roman,
    Thanks for the reply.
    There is no static nat configured which is why I'm puzzled by that entry.
    core2#sh run | inc nat
    nat server
    nat server
    nat server
    nat server
    nat server
    ip nat outside
    ip nat inside
    ip nat inside
    ip nat outside
    ip nat inside
    ip nat translation timeout 300
    ip nat pool NAT-POOL 210.15.240.6 210.15.240.9 netmask 255.255.255.224
    ip nat inside source route-map nonat pool NAT-POOL overload
    route-map nonat permit 10
    That's the whole config and you can see that there is no static nat configured anywhere.
    I have a few dhcp clients doing this on the network.
    Look for example at the dhcp clients of 172.16.75.23 and 172.16.75.239.
    core2#sh ip nat trans
    Pro Inside global Inside local Outside local Outside global
    tcp 210.15.240.9:1024 172.16.75.239:49796 210.15.254.237:443 210.15.254.237:443
    --- 210.15.240.8 172.16.75.23 --- ---
    --- 210.15.240.9 172.16.75.239 --- ---
    tcp 210.15.240.6:1024 172.16.75.26:49240 207.46.61.90:80 207.46.61.90:80
    tcp 210.15.240.6:1025 172.16.75.243:50811 202.45.127.78:993 202.45.127.78:993
    tcp 210.15.240.6:1032 172.16.75.232:51226 66.102.11.164:80 66.102.11.164:80
    tcp 210.15.240.6:1026 172.16.75.232:51526 72.167.82.19:993 72.167.82.19:993
    tcp 210.15.240.6:1027 172.16.75.241:49982 209.85.129.111:993 209.85.129.111:993
    tcp 210.15.240.8:54775 172.16.75.23:54775 89.149.236.104:80 89.149.236.104:80
    Thanks.
    Andy

  • Strange Calendar Event Entry

    Some days ago I found a birthday greeting in my calendar as title of a "whole day" event. Obviously, if this isn't automatically done by the system, someone from outside must have created it. Because there is no birthday field in my contacts I doubt that my system has knowledge of my birthday for an automated message. Therefore, someone else seems to be the sender.
    In the detail screen of the event the title text is also shown in the note field. Furthermore "Contacts" is shown as participant. When I try to delete the event the system refuses to do so with a message that Birthday events of my contacts can only be deleted by the calendar administrator. This is strange because I'm able to delete all other calender events and it's my private system with no other administrator than myself.
    Does someone know what can be the source of that event i.e. how someone from outside my system can create an event entry in my calender?

    Am I the only one? Help.

  • Strange system.log entries.  Have I been compromised?  Related to ARD

    Every two minutes my system.log posts a new entry that I am having a UDP WritePacket error 65 and it looks as if its trying to connect to a range of IP's that are hosted by pacbell. I do not have any systems outside my network on my ARD so not sure what the heck is going on. Here is a copy of the messages:
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.33
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.64
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.95
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.174
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.27
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.161
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.98
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.126
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.61
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.130
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.67
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.51
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.92
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.74
    Mar 24 15:06:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.57
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.179
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.45
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.90
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.14
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.48
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.88
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.229
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.69
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.37
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.54
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.84
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.23
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.79
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.173
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.149
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.80
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.53
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.21
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.86
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.111
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.168
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.44
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.40
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.124
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.29
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.166
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.133
    Mar 24 15:07:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.56
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.33
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.64
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.95
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.174
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.27
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.161
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.98
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.126
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.61
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.130
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.67
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.51
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.92
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.74
    Mar 24 15:08:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.57
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.179
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.45
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.90
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.14
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.48
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.88
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.229
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.69
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.37
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.54
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.84
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.23
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.79
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.173
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.149
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.80
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.53
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.21
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.86
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.111
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.168
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.44
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.40
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.124
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.29
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.166
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.133
    Mar 24 15:09:00 Kyle ARDAgent [222]: UDPWritePacket error 65 No route to host for -64.168.10.56

    There is another post about this about a couple of months ago. The poster figured out that the first number -64 actually could be translated into 192. etc.
    and that the computers were not online at the time (laptops etc).
    Here is the link..
    http://discussions.apple.com/thread.jspa?messageID=2608312&#2608312

  • Unusual Apache error_log entries

    My Apache error_log (and my wife's) are full of these:
    [Mon Feb 04 13:19:31 2013] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/crls
    [Mon Feb 04 13:19:31 2013] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/crls
    [Mon Feb 04 13:19:31 2013] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/crls
    [Mon Feb 04 13:27:56 2013] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/crls
    [Mon Feb 04 13:27:56 2013] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/crls
    They seem to appear randomly. We've wondered whether it was Safari, Versions or something else causing them, but they appear even when those are quit.
    Sometimes they're a bit different:
    [Fri Aug 17 15:09:05 2012] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/ThawtePremiumServerCA.crl
    or:
    [Thu Aug 23 08:51:07 2012] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/SVRSecureG3.cer
    They've appeared for as long as I can remember (so probably from Snow Leopard onwards) and they drive us a bit crazy!
    It's just one of those things that's always been annoying and it'd be wonderful if someone out there knew what the issue was.
    Many thanks in anticipation!

    Thanks very much for the reply.
    No luck though - those commands didn't seem to do anything.
    One odd thing is that, when I restart Apache, it does take a while before the errors start appearing again.
    They also happen when I'm not using it so it must be something the machine's doing in the background.
    Just noticed I posted this reply using my developer account, hence the different profile name!
    Message was edited by: mrmuppet

  • Strange FTP log entry - FTP LOGIN REFUSED: getpwnam returned null

    At the systems log file, I get entries like the following since a few days:
    FTP LOGIN REFUSED: getpwnam returned null
    Over and over again (three or four per second). System performance is not harmed, anything working in normal parameters.
    There are several xftpd processes there causing this behavior - stopping ftp, killing them, restarting ftp solves the problem - and after one day, same situation.
    I searched this forum, but haven't found much information. Others seemed to have the problem as well, but either got no reply or have decided to use a different ftp server instead of Apple's one (which is no choice for us).
    Any advise would be appreciated.

    Others seemed to have the problem as well, but either got no reply or have decided to use a different ftp server instead of Apple's one
    Using a different server won't make any difference.
    Your machine is being attacked by a hacker trying to get into your FTP server.
    Don't be surprised by this. Just about any service that is open to the public internet is going to get probed at some point. All that's happened here is that some bot has detected a FTP server running on your machine and is trying a number of username/password combinations to see if they can log in.
    Whether they will or not depends on the number of accounts you have on your server and the strength of their passwords.
    Having a different FTP server isn't going to make a difference because the bot doesn't (yet) know what server you're running, it's just opening FTP connections and trying to log in. Any FTP server would respond in the same way.
    The solution is to decide whether you really need FTP exposed to the outside world. It really isn't a secure protocol and can be the vector through which other hacks occur. If you don't need it I'd turn it off. If you do need it, consider some way of limiting access (e.g. make it available to LAN clients only and not to the whole internet, or use a VPN.

  • Strange System Log Entry

    The following sequence keeps repeating every few seconds in the System Log. Does anyone have any ideas as to what it is all about? It appears to be referring to a Python script, but we have not "knowingly" executed any.
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: Traceback (most recent call last):
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/bin/twistd", line 21, in <module>
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: run()
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: app.run(runApp, ServerOptions)
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: runApp(config)
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: _SomeApplicationRunner(config).run()
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 156, in run
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: self.preApplication()
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 203, in preApplication
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: self.config['prefix'], self.config['nodaemon'])
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 113, in startLogging
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: logFile = app.getLogFile(logfilename or 'twistd.log')
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 410, in getLogFile
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: os.path.dirname(logPath))
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 113, in _init_
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: BaseLogFile._init_(self, name, directory, defaultMode)
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 26, in _init_
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: assert os.path.isdir(self.directory)
    Dec 13 13:15:06 host1 com.apple.wikid[28950]: AssertionError
    Dec 13 13:15:06 host1 com.apple.launchd[1] (com.apple.wikid[28950]): Exited with exit code: 1
    Dec 13 13:15:06 host1 com.apple.launchd[1] (com.apple.wikid): Throttling respawn: Will start in 8 seconds

    Okay - I also noticed this same issue as propably many others - did little study and found out the reason.
    First of all - these should be standard locations, but let's make sure. I found out that wikid keeps it settings in /etc/wikid/wikid.conf - From error messages I checked source of last mention before process ended. Not pasting anything to here, I usually use PHP or C and try to stay away from python but I was able to make something out. Assert is a function that makes a test agains something, if this test's result is true (if I remember my studies right, I rarely use assert) it exits process. Why? Sometimes when programs start they need to make certain checks to avoid crashing - crashing isn't nice..
    Anyway, test was for existency of directory where logfile(s) are kept. From same or another source file I also found out about location /etc/wikid, I ofcourse could had checked it from there in the first place, but I liked to follow the code a bit.. There I found file wikid.plist, opened it - a long conf file and finally there it was - logfile(s) are kept in location:
    /Library/Logs/wikid
    I created this directory and restarted, everything wasn't okay yet, as rights for that directory were incorrect. So I checked com.apple.wikid in LaunchDaemons and found out it runs as user _teamsserver and gid _teamsserver. So I changed rights for that uid and gid and everything was working after that.
    Here's what you need to do in terminal to get it working:
    #sudo mkdir /Library/Logs/wikid
    #sudo chown -R teamsserver:teamsserver /Library/Logs/wikid
    Then just restart wikid, there you go. This was my first post and I just created account for this.
    Can be marked as SOLVED but 10.5.2 should make sure this directory gets created - either when ever it's missing and wikid is started, or just a empty dir created while upgrading to 10.5.2

  • Strange hdd remounting entries in journal

    Hi, Im getting this in my journal every now and again:
    *Edit
    The "Found device" and remounting and fscking specifically
    Apr 03 20:24:15 russell-server systemd[1]: Reloading.
    Apr 03 20:24:15 russell-server systemd[1]: Started CUPS Printing Service.
    Apr 03 20:24:15 russell-server systemd[1]: Mounted /storage.
    Apr 03 20:24:15 russell-server systemd[1]: Mounted /.
    Apr 03 20:24:15 russell-server systemd[1]: Reached target Local File Systems (Pre).
    Apr 03 20:24:15 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:15 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:15 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:15 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:15 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:15 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:15 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:15 russell-server systemd[1]: Starting File System Check on /dev/disk/by-uuid/a628b153-4f97-45f7-b8b1-23c3557cdd72...
    Apr 03 20:24:15 russell-server sudo[15149]: pam_unix(sudo:session): session closed for user root
    Apr 03 20:24:16 russell-server systemd[1]: Started File System Check on /dev/disk/by-uuid/a628b153-4f97-45f7-b8b1-23c3557cdd72.
    Apr 03 20:24:25 russell-server sudo[15176]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/vim /etc/conf.d/plexmediaserver
    Apr 03 20:24:25 russell-server sudo[15176]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
    Apr 03 20:24:33 russell-server sudo[15176]: pam_unix(sudo:session): session closed for user root
    Apr 03 20:24:41 russell-server sudo[15178]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/systemctl --system daemon-reload
    Apr 03 20:24:41 russell-server sudo[15178]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
    Apr 03 20:24:41 russell-server systemd[1]: Reloading.
    Apr 03 20:24:41 russell-server systemd[1]: Started CUPS Printing Service.
    Apr 03 20:24:41 russell-server systemd[1]: Mounted /storage.
    Apr 03 20:24:41 russell-server systemd[1]: Mounted /.
    Apr 03 20:24:41 russell-server systemd[1]: Reached target Local File Systems (Pre).
    Apr 03 20:24:41 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:41 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:41 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:41 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:41 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:41 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:41 russell-server systemd[1]: Found device WDC_WD20EARX-00PASB0.
    Apr 03 20:24:41 russell-server systemd[1]: Starting File System Check on /dev/disk/by-uuid/a628b153-4f97-45f7-b8b1-23c3557cdd72...
    Apr 03 20:24:41 russell-server sudo[15178]: pam_unix(sudo:session): session closed for user root
    Apr 03 20:24:41 russell-server systemd[1]: Started File System Check on /dev/disk/by-uuid/a628b153-4f97-45f7-b8b1-23c3557cdd72.
    Apr 03 20:24:50 russell-server sudo[15213]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/systemctl start plexmediaserver.service
    Apr 03 20:24:50 russell-server sudo[15213]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
    Apr 03 20:24:50 russell-server systemd[1]: Starting Plex Media Server for Linux...
    Apr 03 20:24:51 russell-server su[15221]: (to plexmediaserver) root on none
    I have no idea that its doing, its not after or before a reboot, any ideas?
    Last edited by jrussell (2013-04-03 21:33:15)

    @WonderWoofy,
    I know smartmon tools works but when I've used them on an SSD I've got bizarre results which I suspect would imply the disk died a few decades ago if they were accurate. I'm not sure if the tools are reliable for SSDs though I suspect it depends on the particular model.
    @OP,
    You'd need to look at the detailed report for the disk. That it passed does not mean much. I've had a hard drive pass despite clearly being in the last death throes. The more detailed report clearly showed something was very, very wrong but the overall health check still reckoned the disk was just fine. I would therefore never trust the overall passed report and only ever look at the detailed report.
    You can also have smartmon tools run tests on the disk if you do not do this as a routine. The detailed report will show what is available for your particular disk.
    Just for clarity: is WDC_WD20EARX-00PASB0 a628b153-4f97-45f7-b8b1-23c3557cdd72? And is a628b153-4f97-45f7-b8b1-23c3557cdd72 sdb?

  • Strange Repair Permission Entry

    My friend has just purchased a new iMac and is running Snow Leopard.
    She could not get an ftp program to run (Cyberduck) so I thought I would try a permission repair.
    I got the following message .... any ideas how I fix this?
    http://i35.tinypic.com/339rncw.png
    I was sharing her screen using iChat at the time, would that be the problem?

    Jaymz wrote:
    Thank you.
    I can't believe you answered exactly the same question from two different posts 6 minutes apart!
    yes. i just had to copy and paste .

  • Apache2 problems

    I recently attempted to enable cgi and php on my macbooks local webserver. In attempting to do this, my entire server stopped working. When I try to access the local site, I get the following error:
    Though the site seems valid, the browser was unable to establish a connection.
    below is my httpd.conf file, the only thing I modified (I stupidly did not create a backup), and thus what I am assuming is causing my problems. How do I fix my server?
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do not begin
    # with "/", the value of ServerRoot is prepended -- so "/private/var/log/apache2/foo.log"
    # with ServerRoot set to "/usr" will be interpreted by the
    # server as "/usr//private/var/log/apache2/foo.log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/usr"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available before they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authnfilemodule libexec/apache2/modauthnfile.so
    LoadModule authndbmmodule libexec/apache2/modauthndbm.so
    LoadModule authnanonmodule libexec/apache2/modauthnanon.so
    LoadModule authndbdmodule libexec/apache2/modauthndbd.so
    LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
    LoadModule authzhostmodule libexec/apache2/modauthzhost.so
    LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
    LoadModule authzusermodule libexec/apache2/modauthzuser.so
    LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
    LoadModule authzownermodule libexec/apache2/modauthzowner.so
    LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
    LoadModule authbasicmodule libexec/apache2/modauthbasic.so
    LoadModule authdigestmodule libexec/apache2/modauthdigest.so
    LoadModule cache_module libexec/apache2/mod_cache.so
    LoadModule diskcachemodule libexec/apache2/moddiskcache.so
    LoadModule memcachemodule libexec/apache2/modmemcache.so
    LoadModule dbd_module libexec/apache2/mod_dbd.so
    LoadModule dumpio_module libexec/apache2/mod_dumpio.so
    LoadModule extfiltermodule libexec/apache2/modextfilter.so
    LoadModule include_module libexec/apache2/mod_include.so
    LoadModule filter_module libexec/apache2/mod_filter.so
    LoadModule deflate_module libexec/apache2/mod_deflate.so
    LoadModule logconfigmodule libexec/apache2/modlogconfig.so
    LoadModule logforensicmodule libexec/apache2/modlogforensic.so
    LoadModule logio_module libexec/apache2/mod_logio.so
    LoadModule env_module libexec/apache2/mod_env.so
    LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
    LoadModule cernmetamodule libexec/apache2/modcernmeta.so
    LoadModule expires_module libexec/apache2/mod_expires.so
    LoadModule headers_module libexec/apache2/mod_headers.so
    LoadModule ident_module libexec/apache2/mod_ident.so
    LoadModule usertrack_module libexec/apache2/mod_usertrack.so
    #LoadModule uniqueidmodule libexec/apache2/moduniqueid.so
    LoadModule setenvif_module libexec/apache2/mod_setenvif.so
    LoadModule version_module libexec/apache2/mod_version.so
    LoadModule proxy_module libexec/apache2/mod_proxy.so
    LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
    LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
    LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
    LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
    LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    LoadModule mime_module libexec/apache2/mod_mime.so
    LoadModule dav_module libexec/apache2/mod_dav.so
    LoadModule status_module libexec/apache2/mod_status.so
    LoadModule autoindex_module libexec/apache2/mod_autoindex.so
    LoadModule asis_module libexec/apache2/mod_asis.so
    LoadModule info_module libexec/apache2/mod_info.so
    LoadModule cgi_module libexec/apache2/mod_cgi.so
    LoadModule davfsmodule libexec/apache2/moddavfs.so
    LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
    LoadModule negotiation_module libexec/apache2/mod_negotiation.so
    LoadModule dir_module libexec/apache2/mod_dir.so
    LoadModule imagemap_module libexec/apache2/mod_imagemap.so
    LoadModule actions_module libexec/apache2/mod_actions.so
    LoadModule speling_module libexec/apache2/mod_speling.so
    LoadModule userdir_module libexec/apache2/mod_userdir.so
    LoadModule alias_module libexec/apache2/mod_alias.so
    LoadModule rewrite_module libexec/apache2/mod_rewrite.so
    LoadModule bonjour_module libexec/apache2/mod_bonjour.so
    LoadModule php5_module libexec/apache2/libphp5.so
    LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
    <IfModule !mpmnetwaremodule>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User www
    Group www
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/Library/WebServer/Documents"
    # 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
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/Library/WebServer/Documents">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named explicitly --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks MultiViews
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html index.htm index.php index.pl index.cgi
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # Apple specific filesystem protection.
    <Files "rsrc">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    <DirectoryMatch ".*\.\.namedfork">
    Order allow,deny
    Deny from all
    Satisfy All
    </DirectoryMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you do define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog /private/var/log/apache2/error_log
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule logconfigmodule>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    CustomLog /private/var/log/apache2/access_log common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog /private/var/log/apache2/access_log combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /private/var/run/cgisock
    </IfModule>
    # "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/Library/WebServer/CGI-Executables">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig /private/etc/apache2/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    AddHandler cgi-script .cgi .pl
    Options ExecCGI
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The modmimemagic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile /private/etc/apache2/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the /private/etc/apache2/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    Include /private/etc/apache2/extra/httpd-mpm.conf
    # Multi-language error messages
    #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include /private/etc/apache2/extra/httpd-autoindex.conf
    # Language settings
    Include /private/etc/apache2/extra/httpd-languages.conf
    # User home directories
    Include /private/etc/apache2/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include /private/etc/apache2/extra/httpd-info.conf
    # Virtual hosts
    Include /private/etc/apache2/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    Include /private/etc/apache2/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include /private/etc/apache2/extra/httpd-dav.conf
    # Various default settings
    #Include /private/etc/apache2/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    Include /private/etc/apache2/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    Include /private/etc/apache2/other/*.conf

    Given your inexperience with apache, I think you would be better off restoring your apache configuration and then asking questions about how to set up php. You don't need to set up cgi, really, but that's a conversation I can't have right now.
    The first thing I want to make sure is that you are using a text editor like the free and very useful TextWrangler to edit your config files. If that's the case, you can download a copy of the original httpd.conf file from my server and replace your broken one.
    Click Here to Begin Download:
    http://secure.dreamyskies.net/shimmering/httpd.orig.conf.zip
    good luck.
    <Edited by Moderator>

  • Accesing protectred URIs on Solaris (sparcv9) with WLS 10.3.5 and Apache2

    I had started to ask questions about this on another thread of mine, but since I had listed that one as answered and this being different from the original question on that thread...I felt it better to create its own thread.
    Problem Description: Environment Details:
    - Server1 -- 64 bit Intel RHEL5
    Fusion Middleware Identity Management - 11.1.1.2
    WLS 10.3.2
    ODSM,OID,OVD
    DB 10.2.0.4
    - Server 2 32-bit Intel RHEL5
    OAM 10.1.4.3
    OHS 11.1.1.2
    - Server 3 64-bit SparcV9 Webhost -- deployed app as protected uri
    WLS 10.3.5
    Apache2
    Webgate 10.1.4.3
    We believe we have completed everything in regard to being able to include a solaris host in our list of hosts that are tied to OAM. We have installed webhost with XP and RHEL5.6 successfully using OHS 11.1.1.2. This is the first time creating a webhost on Sparc. The webgate was created and software installed, the deployed app protected, etc... Everything that we have done for Linux and XP in the past we have done for this Sparc host. The only differences are the SUN OS, Apache2, and WLS 10.3.5. I believe those are all acceptable for these Oracle products and versions.
    When we try to access the Sparc's protected uri... nothing happens. The browser stays blank... the url does not change to display the oamsso login.html (as the other installs do)... nothing is returned... no error, no remarks, ... just a blank browser.
    Doing an apachectl -l I receive the following:
    Compiled in modules:
    core.c
    prefork.c
    http_core.c
    mod_so.c
    So mod_so.c is included.
    If I go directly to the protected uri through 7001 instead of the 8890 -- the port httpd.conf has configured to listen on -- the page displays. If I open the oamsso/login.html using 8890... it displays. But if I use 8890 to bring up the protected uri... as described above nothing displays.
    One other thing, since the Sparc host is "headless" -- as described by our SysAdmin... no access directly through the sun console and no gui access via the sun host since there is no sun console just the server -- we have to access the gui via a browser on the same network. The browser is actually on the OAM host.
    From apache2 error_log on SUN host:
    15-7-2011 14:35:51Sending message: 0 13
    protocol=NAP version=3 oldest=1
    15-7-2011 14:35:51Received message: 0 13
    protocol=NAP version=3 oldest=1
    15-7-2011 14:35:51Sending NMP STS negotiation message: 0 0
    sts=open
    15-7-2011 14:35:51Received NMP STS negotiation message: 0 0
    sts=open
    15-7-2011 14:35:51Sending message: 0 14
    cm=mtisunfireHost_AG challenge=b516f1a00c2a95ee
    15-7-2011 14:35:51Received message: 0 14
    cm=access_svrid1 challenge=95520d6315ad3865 st=ma%3d25 rt=1
    15-7-2011 14:35:51Sending message: 0 15
    response=531be0a851cb2773c90aa0c91d9f779c
    15-7-2011 14:35:51Received message: 0 15
    response=2b62c22a9458e962c35d8d7d358f4fc1 st=ma%3d25 rt=1
    15-7-2011 14:35:51Sending message: 0 8
    cm=mtisunfireHost_AG ct=0 version=3
    15-7-2011 14:35:51Received message: 0 8
    ci=id%3dmtisunfireHost_AG%20maxConnections%3d1%20debug%3d0%20maxSessionTime%3d24%20sleepFor%3d60%20security%3dopen%20failoverThreshold%3d1%20aaaTimeoutThreshold%3d%20cookieSessionTime%3d3600%20maxCacheElems%3d100000%20cacheTimeout%3d1800%20configLastUpdateTime%3d1310754351%20preferredHost%3dmtisunfire:8890%20state%3dEnabled%20primaryCookieDomain%3d%20idleSessionTimeout%3d3600%20accessClientPasswd%3d02434564584046435641510409%20primaryServer1%3dhost%253dirsam-oam.dchc.smil.mil%2520port%253d8887%2520numOfConnections%253d1%20denyOnNotProtected%3d0%20cachePragmaHeader%3dno-cache%20cacheControlHeader%3dno-cache%20ipValidation%3d1 st=ma%3d25%20mi%3d2%20sg%3d32%20sm%3d rt=1
    [Fri Jul 15 14:35:52 2011] [notice] child pid 18581 exit signal Segmentation fault (11)
    [Fri Jul 15 14:35:58 2011] [notice] child pid 18582 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:01 2011] [notice] child pid 18583 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:04 2011] [notice] child pid 18585 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:07 2011] [notice] child pid 18586 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:11 2011] [notice] child pid 18590 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:12 2011] [notice] child pid 18591 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:14 2011] [notice] child pid 18592 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:15 2011] [notice] child pid 18593 exit signal Segmentation fault (11)
    [Fri Jul 15 14:36:16 2011] [notice] child pid 18594 exit signal Segmentation fault (11)
    [Fri Jul 15 14:38:35 2011] [notice] child pid 18595 exit signal Segmentation fault (11)
    [Fri Jul 15 14:38:38 2011] [notice] child pid 18596 exit signal Segmentation fault (11)
    I believe that apache is currently setup correctly at this point, but cannot understand what we are missing.

    I would say that OAM does support Apache (according to the certified Apache versions and OS's). However, there are so many distributions out there and it can be configured with countless options, be compiled with a number of different compilers, and include any number of modules that some compatibility issues are bound to arise. The Solaris distribution - also Oracle - is a case in point. I have also encountered issues with the Apache version bundled with some Linux versions (for different reasons than the Solaris bundle) for which the easiest solution has also been to download and build from source. I would imagine that is the reason for what you were told about support for generic Apache, though of course I do not know the context.
    Regards,
    Colin

  • Ios 5.0.1 duplicate calendar entries

    I've just updated to ios 5.0.1 on my iphone 4. Now I get these strange duplicate calendar entries appearing on my iphone calendar, which aren't present at all in iCal on my mac???.  I've never had these issues before and I thought that it may have something to do with iCloud, however I'm running OS X 10.6.4 on my laptop and I don't have iCloud settings to edit (I know I require OS X Lion for this to be available) via my settings on my mac.
    Now to the I've list:
    I've tried deleting the items manually on my iPhone (delete one event or all future instances), but they just don't go.
    I've tried deleting my iCloud account altogether on my iPhone, however when I resync via iTunes all they same duplicate events return to my phone???
    I've tried ticking the "Advanced/Replace information on this iPhone/Calendars" and then syncing again, but the same duplicate items return.
    I've searched forum post after forum post and I can't find a solution to this problem.
    I've removed most of the remaining hair through sheer frustration...
    Basically the Calendar on my iPhone is totally useless now.
    I won't be updating to OS X Lion as all of my audio software/hardware, of which I rely on on a daily basis, works perfectly with 10.6.4
    Does anyone have a fix for this?

    Oops! spoke too soon!
    All seemed to be working fine, but after adding a test item into my calendar on my iPhone, all the duplicate entries magically appeared again.??? 
    So now the annoying phantom duplicate entries are on my iPhone, but strangely not on my calendar on the iCloud.com web site and NOT on my calendar on my Mac.
    I don't think I can waste anymore time stuffing around with this.  Paper diary for me again I think...
    I'm very disappointed as I was very much looking forward to shared calendars!
    I hope Apple comes up with a fix soon.
    Here's hoping...

  • How Can I get mod_rewrite to run on 10.6.4?

    Hi there,
    I've carried over a local wordpress install for some debug/dev purposes on to my local comp and encountered a few issues in getting permalink/mod_rewrite functions to run cleanly.
    I've noticed there's a number of posts in this forum about this but none of them appear to give a solution so far.
    My setup is as follows:
    /private/etc/apache2/httpd.conf
    /*Module section*/
    *LoadModule rewrite_module libexec/apache2/mod_rewrite.so*
    /* didn't know we needed this but read it on a blog post so gave it a shot*/
    *AccessFilename .htaccess*
    /* in <Directory> sections */
    *Options FollowSymLinks*
    *AllowOverride All*
    /* in <Directory "/Library/WebServer/Documents"> sections */
    *Options Indexes FollowSymLinks MultiViews*
    *AllowOverride All*
    I realise that the AllowOverride All at the <Directory> and <Directory "parent site"> are potentially overkill given that I only want to run the mod_rewrite for a particular user's directory. This then brings me to the specific users conf file (verbose here):
    /Private/etc/Apache2/users/[username].conf
    *<Directory "/Users/[username]/Sites">*
    *Options Indexes MultiViews FollowSymLinks*
    *AllowOverride All*
    *Order allow,deny*
    *Allow from all*
    </Directory>
    I then created a .htaccess in the user's site directory to call-up the mod_rewrite:
    *<IfModule mod_rewrite.c>*
    *Options +FollowSymlinks*
    *RewriteEngine On*
    *RewriteBase /~tariqscherer/*
    *RewriteRule ^index\.php$ - [L]*
    *RewriteCond %{REQUEST_FILENAME} !-f*
    *RewriteCond %{REQUEST_FILENAME} !-d*
    *RewriteRule . /~tariqscherer/index.php [L]*
    </IfModule>
    This code above was the rewrite recommended by WordPress, so I assumed that it would work. However, I do not get any rewrite action occurring whatsoever.
    The Apache error log (/var/log/apache2/error_log) gives me a File does not exist result:
    Mon Sep 06 16:03:55 2010 error client 192.168.1.18 File does not exist: /Users/[username]/Sites/about, referer: http://dasein-im-welt/~*[username]*/
    This error links back to the access log's GET 404 error (/var/log/apache2/access_log):
    192.168.1.18 06/Sep/2010:16:03:55 0200 "GET /~[username]/about/ HTTP/1.1" 404 218
    I've then tried to debug this process a little bit by starting a rewrite log over in the httpd.conf file with the following syntax:
    *RewriteLog /var/log/apache2/rewrite_log*
    *RewriteLogLevel 3*
    And then retrying hoping to trace some of the errors. Much to my surprise the log remains empty so I can only assume that the rewrite is simply not operating at all.
    I then thought I should try a simple rewrite test to ensure that the error wasn't from the wordpress .htaccess cod: and put through the following in my .htaccess file:
    *<IfModule mod_rewrite.c>*
    *Options +FollowSymlinks*
    *RewriteEngine On*
    *#RewriteBase /~tariqscherer/*
    *RewriteRule ^alice\.html$ index.php*
    *#RewriteRule ^index\.php$ - [L]*
    *#RewriteCond %{REQUEST_FILENAME} !-f*
    *#RewriteCond %{REQUEST_FILENAME} !-d*
    *#RewriteRule . /~tariqscherer/index.php [L]*
    </IfModule>
    I expected this rewrite to give me a rewrite over to index.php for an address entry of alice.html. However, no difference in terms of the end result - browser gives me a fail and logs are as follows:
    Access_Log:
    192.168.1.18 06/Sep/2010:16:19:15 0200 "GET /~[username]/alice.html HTTP/1.1" 404 222
    Error_Log:
    Mon Sep 06 16:19:15 2010 error client 192.168.1.18 File does not exist: /Users/[username]/Sites/alice.html
    Oh and the rewrite_log, though created, remains blank.
    I can therefore only assume that the mod_rewrite is simply not being called at any point and not rewriting the http GET requests in any form whatsoever to correct directory.
    My Question therefore is.
    Has anybody managed to get the mod_rewrite running under Mac OS X 10.6.4? Taking into account that:
    1. .htaccess is set by the AccessFile in httpd.conf
    2. AllowOverride All is set in the httpd.conf root <Directory> and <Directory "location"> sections, as well as in the [username].conf file.
    3. FollowSymLinks is also set under all options
    4. +FollowSymLinks is also set as an added precautionary measure in the .htaccess file
    I would be greatful for any help on this whatsoever.
    Tariq Scherer
    PS: the username used on my comp was substituted by [username] above, I hope this can help for anybody else to just substitute the entries out on their own local config or to provide a comparison entry.

    HI All,
    This isn't a solution per se, but in order to overcome the .htaccess rewrite calls limitations I had to:
    1. Rebuild Apache (up to 2.2.16) and explicitly specifying a rebuild with enable-rewrite
    2. Rebuild PHP in order to get a native module going.
    This solution works, I event went as far as just carrying over the exact same config files over to the new Apache install. There seems to be a block in the native Apache binary build that prevents usage of .htaccess (security reasons I presume?).
    The catch, however, is you will get pid locks over the two installs unless you explicit a separate lock file and you won't be able to call up the new Apache install from the preference panel in OS X fashion - need to be a bit patient with the terminal is all.
    For the apache install, you have to make sure you set a prefix location that suits you (and remember the put that prefix then over for the module load in your config as it won't be able to access your old .so modules):
    sudo ./configure --prefix=/usr/local/apache2 --enable-rewrite
    Also note, that when recompiling php with mysql support, a few config options need to be set to disable the cgi build options (not sure why, but it does the trick). The command for the PHP rebuild is as follows:
    ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --disable-cgi
    Kind Regards,
    Tariq Scherer
    http://twentyfoursomething.wordpress.com/

  • Problem With httpd.conf and mod_rewrite rules Apache 2.2

    I have some RewriteRules that are working on my Leopard Client Apache 2.2 machine - but when I try to implement them on Leopard Server Apache 2.2, they don't work. I don't get any errors, they just won't execute.
    Could somebody with Leopard Server help me out using the below info?
    Here are the rules I am trying to add: (below is the httpd.conf file)
    ======RULES========
    RewriteEngine On
    Options +FollowSymLinks
    RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
    # Remove ".php"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
    RewriteRule (.+)\.php(.*)$ $1$2 [R, L]
    # Remove ".asp"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
    RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]
    # Remove ".aspx"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
    RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]
    # Remove ".htm" and ".html"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
    RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]
    # Remove ".cfm"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
    RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]
    # Remove ".bak"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
    RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]
    # Remove ".inc"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
    RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]
    # Remove ".*"
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
    RewriteRule (.+)\..(.)$ $1$2 [R, L]
    =====RULES============
    =========HTTPD.CONF=============
    #### Default httpd.conf for Mac OS X Server, Apache 2.2
    #### This httpd.conf differs from the httpd.conf distributed
    #### with Apache and the httpd.conf present on Mac OS X.
    #### Feel free to edit this; the Server Admin app also edits this file but will
    #### respect your changes unless noted below. See also ReadMe.txt.
    ## ServerRoot: The top of the directory tree under which the server's
    ## configuration, error, and log files are kept.
    ## NOTE! If you intend to place this on an NFS (or otherwise network)
    ## mounted filesystem then please read the LockFile documentation
    ## (available at <URL:<a class="jive-link-external-small" href="http://">http://www.apache.org/docs/mod/core.html#lockfile>);
    ## you will save yourself a lot of trouble.
    ## Do NOT add a slash at the end of the directory path.
    ServerRoot "/usr"
    ## PidFile: The file in which the server should record its process
    ## identification number when it starts.
    PidFile /var/run/httpd.pid
    ## ScoreBoardFile: File used to store internal server process information.
    ## Not all architectures require this. But if yours does (you'll know because
    ## this file will be created when you run Apache) then you must ensure that
    ## no two invocations of Apache share the same scoreboard file.
    #ScoreBoardFile "/var/run/apache2runtimestatus"
    ## Server-pool size regulation. Rather than making you guess how many
    ## server processes you need, Apache dynamically adapts to the load it
    ## sees --- that is, it tries to maintain enough server processes to
    ## handle the current load, plus a few spare servers to handle transient
    ## load spikes (e.g., multiple simultaneous requests from a single
    ## Netscape browser).
    ## It does this by periodically checking how many servers are waiting
    ## for a request. If there are fewer than MinSpareServers, it creates
    ## a new spare. If there are more than MaxSpareServers, some of the
    ## spares die off. The default values are probably OK for most sites.
    MinSpareServers 1
    MaxSpareServers 1
    ## Number of servers to start initially --- should be a reasonable ballpark
    ## figure.
    StartServers 1
    ## MaxRequestsPerChild: the number of requests each child process is
    ## allowed to process before the child dies. The child will exit so
    ## as to avoid problems after prolonged use when Apache (and maybe the
    ## libraries it uses) leak memory or other resources. On most systems, this
    ## isn't really needed, but a few (such as Solaris) do have notable leaks
    ## in the libraries. For these platforms, set to something like 10000
    ## or so; a setting of 0 means unlimited.
    ## NOTE: This value does not include keepalive requests after the initial
    ## request per connection. For example, if a child process handles
    ## an initial request and 10 subsequent "keptalive" requests, it
    ## would only count as 1 request towards this limit.
    MaxRequestsPerChild 100000
    ## Dynamic Shared Object (DSO) Support
    ## To be able to use the functionality of a module which was built as a DSO you
    ## have to place corresponding `LoadModule' lines at this location so the
    ## directives contained in it are actually available before they are used.
    ## Please read the file http://httpd.apache.org/docs/dso.html for more
    ## details about the DSO mechanism and run `httpd -l' for the list of already
    ## built-in (statically linked and thus always available) modules in your httpd
    ## binary.
    ## Note: The order in which modules are loaded is important. Don't change
    ## the order below without expert advice.
    ## Example:
    ## LoadModule foo_module libexec/mod_foo.so
    #### For Mac OS X Server: Note that the Server Admin application
    #### and the apxs utility enable and disable modules
    #### by removing and adding a comment character.
    LoadModule authnfilemodule libexec/apache2/modauthnfile.so
    #LoadModule authndbmmodule libexec/apache2/modauthndbm.so
    #LoadModule authnanonmodule libexec/apache2/modauthnanon.so
    #LoadModule authndbdmodule libexec/apache2/modauthndbd.so
    #LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
    LoadModule authzhostmodule libexec/apache2/modauthzhost.so
    #LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
    #LoadModule authzusermodule libexec/apache2/modauthzuser.so
    #LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
    #LoadModule authzownermodule libexec/apache2/modauthzowner.so
    #LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
    #LoadModule authbasicmodule libexec/apache2/modauthbasic.so
    #LoadModule authdigest_applemodule libexec/apache2/modauth_digestapple.so
    LoadModule cache_module libexec/apache2/mod_cache.so
    LoadModule memcachemodule libexec/apache2/modmemcache.so
    LoadModule diskcachemodule libexec/apache2/moddiskcache.so
    #LoadModule dbd_module libexec/apache2/mod_dbd.so
    LoadModule dumpio_module libexec/apache2/mod_dumpio.so
    LoadModule extfiltermodule libexec/apache2/modextfilter.so
    LoadModule include_module libexec/apache2/mod_include.so
    LoadModule filter_module libexec/apache2/mod_filter.so
    LoadModule deflate_module libexec/apache2/mod_deflate.so
    LoadModule logconfigmodule libexec/apache2/modlogconfig.so
    LoadModule logio_module libexec/apache2/mod_logio.so
    LoadModule env_module libexec/apache2/mod_env.so
    LoadModule expires_module libexec/apache2/mod_expires.so
    LoadModule headers_module libexec/apache2/mod_headers.so
    LoadModule ident_module libexec/apache2/mod_ident.so
    LoadModule setenvif_module libexec/apache2/mod_setenvif.so
    LoadModule proxy_module libexec/apache2/mod_proxy.so
    #LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
    #LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
    LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
    #LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
    LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    LoadModule mime_module libexec/apache2/mod_mime.so
    #LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
    #LoadModule dav_module libexec/apache2/mod_dav.so
    LoadModule status_module libexec/apache2/mod_status.so
    LoadModule autoindex_module libexec/apache2/mod_autoindex.so
    LoadModule asis_module libexec/apache2/mod_asis.so
    LoadModule info_module libexec/apache2/mod_info.so
    LoadModule cgi_module libexec/apache2/mod_cgi.so
    #LoadModule davfsmodule libexec/apache2/moddavfs.so
    LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
    LoadModule negotiation_module libexec/apache2/mod_negotiation.so
    LoadModule dir_module libexec/apache2/mod_dir.so
    LoadModule imagemap_module libexec/apache2/mod_imagemap.so
    LoadModule actions_module libexec/apache2/mod_actions.so
    LoadModule speling_module libexec/apache2/mod_speling.so
    LoadModule userdir_module libexec/apache2/mod_userdir.so
    LoadModule alias_module libexec/apache2/mod_alias.so
    LoadModule rewrite_module libexec/apache2/mod_rewrite.so
    #LoadModule php5_module libexec/apache2/libphp5.so
    #LoadModule encoding_module libexec/apache2/mod_encoding.so
    #LoadModule jk_module libexec/apache2/mod_jk.so
    #LoadModule applespotlightmodule libexec/apache2/modspotlightapple.so
    #LoadModule bonjour_module libexec/apache2/mod_bonjour.so
    LoadModule appleauthmodule libexec/apache2/modauthapple.so
    LoadModule spnegoauthmodule libexec/apache2/modspnegoapple.so
    LoadModule appledigestmodule libexec/apache2/moddigestapple.so
    LoadModule hfsapplemodule libexec/apache2/modhfsapple.so
    #LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
    #LoadModule scgipubsubmodule libexec/apache2/modscgipubsub.so
    #LoadModule davsvnmodule libexec/apache2/moddavsvn.so
    #LoadModule authzsvnmodule libexec/apache2/modauthzsvn.so
    ## If you wish httpd to run as a different user or group, you must run
    ## httpd as root initially and it will switch.
    ## User/Group: The name (or #number) of the user/group to run httpd as.
    ## It is usually good practice to create a dedicated user and group for
    ## running httpd, as with most system services.
    User www
    Group www
    ## 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
    ## features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    ## UserDir: The name of the directory which is appended onto a user's home
    ## directory if a ~user request is received.
    #### For Mac OS X Server: Note that
    #### personal websharing is not supported on Mac OS X Server.
    <IfModule mod_userdir.c>
    UserDir Sites
    </IfModule>
    ## AccessFileName: The name of the file to look for in each directory
    ## for access control information.
    AccessFileName .htaccess
    ## The following lines prevent .htaccess files from being viewed by
    ## Web clients.
    #### For Mac OS X Server: Note the case-insensitive pattern, which protects
    #### .htaccess fils on HFS volumes.
    #### (Note: Denying .DS_S* may interfere with Finder WebDAV operation)
    <Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    #### Block attempts to circumvent access controls by requesting forks.
    <Files "rsrc">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    <DirectoryMatch ".*\.\.namedfork">
    Order allow,deny
    Deny from all
    Satisfy All
    </DirectoryMatch>
    ## DefaultType is the default MIME type the server will use for a document
    ## if it cannot otherwise determine one, such as from filename extensions.
    ## If your server contains mostly text or HTML documents, "text/plain" is
    ## a good value. If most of your content is binary, such as applications
    ## or images, you may want to use "application/octet-stream" instead to
    ## keep browsers from trying to display binary files as though they are
    ## text.
    DefaultType text/plain
    <IfModule mod_mime.c>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig /dev/null
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddOutputFilter INCLUDES .shtml
    ## Although mod_mime may support several extensions following a single
    ## mime type (ex: "AddType video/quicktime qt mov"), the parser used
    ## by the Server Admin application expects only one extension per line.
    AddHandler send-as-is asis
    AddHandler cgi-script cgi
    AddHandler fastcgi-script fcgi
    AddHandler imap-file map
    AddHandler server-parsed shtml
    AddHandler type-map var
    AddHandler spotlight-search spotlight
    AddType application/andrew-inset ez
    AddType application/atom+xml atom
    AddType application/atomcat+xml atomcat
    AddType application/atomsvc+xml atomsvc
    AddType application/ccxml+xml ccxml
    AddType application/davmount+xml davmount
    AddType application/ecmascript ecma
    AddType application/font-tdpfr pfr
    AddType application/hyperstudio stk
    AddType application/javascript js
    AddType application/json json
    AddType application/mac-binhex40 hqx
    AddType application/mac-compactpro cpt
    AddType application/marc mrc
    AddType application/mathematica ma
    AddType application/mathematica mb
    AddType application/mathematica nb
    AddType application/mathml+xml mathml
    AddType application/mbox mbox
    AddType application/mediaservercontrol+xml mscml
    AddType application/mp4 mp4s
    AddType application/msword doc
    AddType application/msword dot
    AddType application/mxf mxf
    AddType application/octet-stream bin
    AddType application/octet-stream bpk
    AddType application/octet-stream class
    AddType application/octet-stream dist
    AddType application/octet-stream distz
    AddType application/octet-stream dmg
    AddType application/octet-stream dms
    AddType application/octet-stream dump
    AddType application/octet-stream elc
    AddType application/octet-stream iso
    AddType application/octet-stream lha
    AddType application/octet-stream lzh
    AddType application/octet-stream scpt
    AddType application/octet-stream so
    AddType application/oda oda
    AddType application/ogg ogg
    AddType application/pdf pdf
    AddType application/pgp-encrypted pgp
    AddType application/pgp-signature asc
    AddType application/pgp-signature sig
    AddType application/pics-rules prf
    AddType application/pkcs10 p10
    AddType application/pkcs7-mime p7c
    AddType application/pkcs7-mime p7m
    AddType application/pkcs7-signature p7s
    AddType application/pkix-cert cer
    AddType application/pkix-crl crl
    AddType application/pkix-pkipath pkipath
    AddType application/pkixcmp pki
    AddType application/pls+xml pls
    AddType application/postscript ai
    AddType application/postscript eps
    AddType application/postscript ps
    AddType application/prs.cww cww
    AddType application/rdf+xml rdf
    AddType application/reginfo+xml rif
    AddType application/relax-ng-compact-syntax rnc
    AddType application/resource-lists+xml rl
    AddType application/rls-services+xml rs
    AddType application/rsd+xml rsd
    AddType application/rss+xml rss
    AddType application/rtf rtf
    AddType application/sbml+xml sbml
    AddType application/sdp sdp
    AddType application/set-payment-initiation setpay
    AddType application/set-registration-initiation setreg
    AddType application/shf+xml shf
    AddType application/smil+xml smi
    AddType application/smil+xml smil
    AddType application/srgs gram
    AddType application/srgs+xml grxml
    AddType application/ssml+xml ssml
    AddType application/vnd.3gpp.pic-bw-large plb
    AddType application/vnd.3gpp.pic-bw-small psb
    AddType application/vnd.3gpp.pic-bw-var pvb
    AddType application/vnd.3m.post-it-notes pwn
    AddType application/vnd.accpac.simply.aso aso
    AddType application/vnd.accpac.simply.imp imp
    AddType application/vnd.acucobol acu
    AddType application/vnd.acucorp acutc
    AddType application/vnd.acucorp atc
    AddType application/vnd.adobe.xdp+xml xdp
    AddType application/vnd.adobe.xfdf xfdf
    AddType application/vnd.amiga.ami ami
    AddType application/vnd.anser-web-certificate-issue-initiation cii
    AddType application/vnd.anser-web-funds-transfer-initiation fti
    AddType application/vnd.antix.game-component atx
    AddType application/vnd.apple.installer+xml mpkg
    AddType application/vnd.apple.installer+xml pkg
    AddType application/vnd.audiograph aep
    AddType application/vnd.blueice.multipass mpm
    AddType application/vnd.bmi bmi
    AddType application/vnd.businessobjects rep
    AddType application/vnd.chemdraw+xml cdxml
    AddType application/vnd.chipnuts.karaoke-mmd mmd
    AddType application/vnd.cinderella cdy
    AddType application/vnd.claymore cla
    AddType application/vnd.clonk.c4group c4d
    AddType application/vnd.clonk.c4group c4f
    AddType application/vnd.clonk.c4group c4g
    AddType application/vnd.clonk.c4group c4p
    AddType application/vnd.clonk.c4group c4u
    AddType application/vnd.commonspace csp
    AddType application/vnd.commonspace cst
    AddType application/vnd.contact.cmsg cdbcmsg
    AddType application/vnd.cosmocaller cmc
    AddType application/vnd.crick.clicker clkx
    AddType application/vnd.crick.clicker.keyboard clkk
    AddType application/vnd.crick.clicker.palette clkp
    AddType application/vnd.crick.clicker.template clkt
    AddType application/vnd.crick.clicker.wordbank clkw
    AddType application/vnd.criticaltools.wbs+xml wbs
    AddType application/vnd.ctc-posml pml
    AddType application/vnd.cups-ppd ppd
    AddType application/vnd.curl curl
    AddType application/vnd.data-vision.rdz rdz
    AddType application/vnd.denovo.fcselayout-link fe_launch
    AddType application/vnd.dna dna
    AddType application/vnd.dolby.mlp mlp
    AddType application/vnd.dpgraph dpg
    AddType application/vnd.dreamfactory dfac
    AddType application/vnd.ecowin.chart mag
    AddType application/vnd.enliven nml
    AddType application/vnd.epson.esf esf
    AddType application/vnd.epson.msf msf
    AddType application/vnd.epson.quickanime qam
    AddType application/vnd.epson.salt slt
    AddType application/vnd.epson.ssf ssf
    AddType application/vnd.eszigno3+xml es3 et3
    AddType application/vnd.ezpix-album ez2
    AddType application/vnd.ezpix-package ez3
    AddType application/vnd.fdf fdf
    AddType application/vnd.flographit gph
    AddType application/vnd.fluxtime.clip ftc
    AddType application/vnd.framemaker fm
    AddType application/vnd.framemaker frame
    AddType application/vnd.framemaker maker
    AddType application/vnd.frogans.fnc fnc
    AddType application/vnd.frogans.ltf ltf
    AddType application/vnd.fsc.weblaunch fsc
    AddType application/vnd.fujitsu.oasys oas
    AddType application/vnd.fujitsu.oasys2 oa2
    AddType application/vnd.fujitsu.oasys3 oa3
    AddType application/vnd.fujitsu.oasysgp fg5
    AddType application/vnd.fujitsu.oasysprs bh2
    AddType application/vnd.fujixerox.ddd ddd
    AddType application/vnd.fujixerox.docuworks xdw
    AddType application/vnd.fujixerox.docuworks.binder xbd
    AddType application/vnd.fuzzysheet fzs
    AddType application/vnd.genomatix.tuxedo txd
    AddType application/vnd.google-earth.kml+xml kml
    AddType application/vnd.google-earth.kmz kmz
    AddType application/vnd.grafeq gqf
    AddType application/vnd.grafeq gqs
    AddType application/vnd.groove-account gac
    AddType application/vnd.groove-help ghf
    AddType application/vnd.groove-identity-message gim
    AddType application/vnd.groove-injector grv
    AddType application/vnd.groove-tool-message gtm
    AddType application/vnd.groove-tool-template tpl
    AddType application/vnd.groove-vcard vcg
    AddType application/vnd.handheld-entertainment+xml zmm
    AddType application/vnd.hbci hbci
    AddType application/vnd.hhe.lesson-player les
    AddType application/vnd.hp-hpgl hpgl
    AddType application/vnd.hp-hpid hpid
    AddType application/vnd.hp-hps hps
    AddType application/vnd.hp-jlyt jlt
    AddType application/vnd.hp-pcl pcl
    AddType application/vnd.hp-pclxl pclxl
    AddType application/vnd.hzn-3d-crossword x3d
    AddType application/vnd.ibm.minipay mpy
    AddType application/vnd.ibm.modcap afp
    AddType application/vnd.ibm.modcap list3820
    AddType application/vnd.ibm.modcap listafp
    AddType application/vnd.ibm.rights-management irm
    AddType application/vnd.ibm.secure-container sc
    AddType application/vnd.igloader igl
    AddType application/vnd.immervision-ivp ivp
    AddType application/vnd.immervision-ivu ivu
    AddType application/vnd.intercon.formnet xpw
    AddType application/vnd.intercon.formnet xpx
    AddType application/vnd.intu.qbo qbo
    AddType application/vnd.intu.qfx qfx
    AddType application/vnd.ipunplugged.rcprofile rcprofile
    AddType application/vnd.irepository.package+xml irp
    AddType application/vnd.is-xpr xpr
    AddType application/vnd.jam jam
    AddType application/vnd.jcp.javame.midlet-rms rms
    AddType application/vnd.jisp jisp
    AddType application/vnd.kahootz ktr
    AddType application/vnd.kahootz ktz
    AddType application/vnd.kde.karbon karbon
    AddType application/vnd.kde.kchart chrt
    AddType application/vnd.kde.kformula kfo
    AddType application/vnd.kde.kivio flw
    AddType application/vnd.kde.kontour kon
    AddType application/vnd.kde.kpresenter kpr
    AddType application/vnd.kde.kpresenter kpt
    AddType application/vnd.kde.kspread ksp
    AddType application/vnd.kde.kword kwd
    AddType application/vnd.kde.kword kwt
    AddType application/vnd.kenameaapp htke
    AddType application/vnd.kidspiration kia
    AddType application/vnd.kinar kne
    AddType application/vnd.kinar knp
    AddType application/vnd.koan skd
    AddType application/vnd.koan skm
    AddType application/vnd.koan skp
    AddType application/vnd.koan skt
    AddType application/vnd.llamagraphics.life-balance.desktop lbd
    AddType application/vnd.llamagraphics.life-balance.exchange+xml lbe
    AddType application/vnd.lotus-1-2-3 123
    AddType application/vnd.lotus-approach apr
    AddType application/vnd.lotus-freelance pre
    AddType application/vnd.lotus-notes nsf
    AddType application/vnd.lotus-organizer org
    AddType application/vnd.lotus-screencam scm
    AddType application/vnd.lotus-wordpro lwp
    AddType application/vnd.macports.portpkg portpkg
    AddType application/vnd.mcd mcd
    AddType application/vnd.medcalcdata mc1
    AddType application/vnd.mediastation.cdkey cdkey
    AddType application/vnd.mfer mwf
    AddType application/vnd.mfmp mfm
    AddType application/vnd.micrografx.flo flo
    AddType application/vnd.micrografx.igx igx
    AddType application/vnd.mif mif
    AddType application/vnd.mobius.daf daf
    AddType application/vnd.mobius.dis dis
    AddType application/vnd.mobius.mbk mbk
    AddType application/vnd.mobius.mqy mqy
    AddType application/vnd.mobius.msl msl
    AddType application/vnd.mobius.plc plc
    AddType application/vnd.mobius.txf txf
    AddType application/vnd.mophun.application mpn
    AddType application/vnd.mophun.certificate mpc
    AddType application/vnd.mozilla.xul+xml xul
    AddType application/vnd.ms-artgalry cil
    AddType application/vnd.ms-asf asf
    AddType application/vnd.ms-cab-compressed cab
    AddType application/vnd.ms-excel xla
    AddType application/vnd.ms-excel xlc
    AddType application/vnd.ms-excel xlm
    AddType application/vnd.ms-excel xls
    AddType application/vnd.ms-excel xlt
    AddType application/vnd.ms-excel xlw
    AddType application/vnd.ms-fontobject eot
    AddType application/vnd.ms-htmlhelp chm
    AddType application/vnd.ms-ims ims
    AddType application/vnd.ms-lrm lrm
    AddType application/vnd.ms-powerpoint pot
    AddType application/vnd.ms-powerpoint pps
    AddType application/vnd.ms-powerpoint ppt
    AddType application/vnd.ms-project mpp
    AddType application/vnd.ms-project mpt
    AddType application/vnd.ms-works wcm
    AddType application/vnd.ms-works wdb
    AddType application/vnd.ms-works wks
    AddType application/vnd.ms-works wps
    AddType application/vnd.ms-wpl wpl
    AddType application/vnd.ms-xpsdocument xps
    AddType application/vnd.mseq mseq
    AddType application/vnd.musician mus
    AddType application/vnd.neurolanguage.nlu nlu
    AddType application/vnd.noblenet-directory nnd
    AddType application/vnd.noblenet-sealer nns
    AddType application/vnd.noblenet-web nnw
    AddType application/vnd.nokia.n-gage.data ngdat
    AddType application/vnd.nokia.n-gage.symbian.install n-gage
    AddType application/vnd.nokia.radio-preset rpst
    AddType application/vnd.nokia.radio-presets rpss
    AddType application/vnd.novadigm.edm edm
    AddType application/vnd.novadigm.edx edx
    AddType application/vnd.novadigm.ext ext
    AddType application/vnd.oasis.opendocument.chart odc
    AddType application/vnd.oasis.opendocument.chart-template otc
    AddType application/vnd.oasis.opendocument.formula odf
    AddType application/vnd.oasis.opendocument.formula-template otf
    AddType application/vnd.oasis.opendocument.graphics odg
    AddType application/vnd.oasis.opendocument.graphics-template otg
    AddType application/vnd.oasis.opendocument.image odi
    AddType application/vnd.oasis.opendocument.image-template oti
    AddType application/vnd.oasis.opendocument.presentation odp
    AddType application/vnd.oasis.opendocument.presentation-template otp
    AddType application/vnd.oasis.opendocument.spreadsheet ods
    AddType application/vnd.oasis.opendocument.spreadsheet-template ots
    AddType application/vnd.oasis.opendocument.text odt
    AddType application/vnd.oasis.opendocument.text-master otm
    AddType application/vnd.oasis.opendocument.text-template ott
    AddType application/vnd.oasis.opendocument.text-web oth
    AddType application/vnd.olpc-sugar xo
    AddType application/vnd.oma.dd2+xml dd2
    AddType application/vnd.openofficeorg.extension oxt
    AddType application/vnd.osgi.dp dp
    AddType application/vnd.palm oprc
    AddType application/vnd.palm pdb
    AddType application/vnd.palm pqa
    AddType application/vnd.palm prc
    AddType application/vnd.pg.format str
    AddType application/vnd.pg.osasli ei6
    AddType application/vnd.picsel efif
    AddType application/vnd.pocketlearn plf
    AddType application/vnd.powerbuilder6 pbd
    AddType application/vnd.previewsystems.box box
    AddType application/vnd.proteus.magazine mgz
    AddType application/vnd.publishare-delta-tree qps
    AddType application/vnd.pvi.ptid1 ptid
    AddType application/vnd.quark.quarkxpress qwd
    AddType application/vnd.quark.quarkxpress qwt
    AddType application/vnd.quark.quarkxpress qxb
    AddType application/vnd.quark.quarkxpress qxd
    AddType application/vnd.quark.quarkxpress qxl
    AddType application/vnd.quark.quarkxpress qxt
    AddType application/vnd.recordare.musicxml mxl
    # AddType application/vnd.rn-realmedia rm
    AddType application/vnd.seemail see
    AddType application/vnd.sema sema
    AddType application/vnd.semd semd
    AddType application/vnd.semf semf
    AddType application/vnd.shana.informed.formdata ifm
    AddType application/vnd.shana.informed.formtemplate itp
    AddType application/vnd.shana.informed.interchange iif
    AddType application/vnd.shana.informed.package ipk
    AddType application/vnd.simtech-mindmapper twd
    AddType application/vnd.simtech-mindmapper twds
    AddType application/vnd.smaf mmf
    AddType application/vnd.solent.sdkm+xml sdkd
    AddType application/vnd.solent.sdkm+xml sdkm
    AddType application/vnd.spotfire.dxp dxp
    AddType application/vnd.spotfire.sfs sfs
    AddType application/vnd.sus-calendar sus
    AddType application/vnd.sus-calendar susp
    AddType application/vnd.svd svd
    AddType application/vnd.syncml+xml xsm
    AddType application/vnd.syncml.dm+wbxml bdm
    AddType application/vnd.syncml.dm+xml xdm
    AddType application/vnd.tao.intent-module-archive tao
    AddType application/vnd.tmobile-livetv tmo
    AddType application/vnd.trid.tpt tpt
    AddType application/vnd.triscape.mxs mxs
    AddType application/vnd.trueapp tra
    AddType application/vnd.ufdl ufd
    AddType application/vnd.ufdl ufdl
    AddType application/vnd.uiq.theme utz
    AddType application/vnd.umajin umj
    AddType application/vnd.unity unityweb
    AddType application/vnd.uoml+xml uoml
    AddType application/vnd.vcx vcx
    AddType application/vnd.visio vsd
    AddType application/vnd.visio vss
    AddType application/vnd.visio vst
    AddType application/vnd.visio vsw
    AddType application/vnd.visionary vis
    AddType application/vnd.vsf vsf
    AddType application/vnd.wap.wbxml wbxml
    AddType application/vnd.wap.wmlc wmlc
    AddType application/vnd.wap.wmlscriptc wmlsc
    AddType application/vnd.webturbo wtb
    AddType application/vnd.wordperfect wpd
    AddType application/vnd.wqd wqd
    AddType application/vnd.wt.stf stf
    AddType application/vnd.xara xar
    AddType application/vnd.xfdl xfdl
    AddType application/vnd.yamaha.hv-dic hvd
    AddType application/vnd.yamaha.hv-script hvs
    AddType application/vnd.yamaha.hv-voice hvp
    AddType application/vnd.yamaha.smaf-audio saf
    AddType application/vnd.yamaha.smaf-phrase spf
    AddType application/vnd.yellowriver-custom-menu cmp
    AddType application/vnd.zzazz.deck+xml zaz
    AddType application/voicexml+xml vxml
    AddType application/winhlp hlp
    AddType application/wsdl+xml wsdl
    AddType application/wspolicy+xml wspolicy
    AddType application/x-ace-compressed ace
    AddType application/x-bcpio bcpio
    AddType application/x-bittorrent torrent
    AddType application/x-bzip bz
    AddType application/x-bzip2 boz
    AddType application/x-bzip2 bz2
    AddType application/x-cdlink vcd
    AddType application/x-chat chat
    AddType application/x-chess-pgn pgn
    AddType application/x-cpio cpio
    AddType application/x-csh csh
    AddType application/x-director dcr
    AddType application/x-director dir
    AddType application/x-director dxr
    AddType application/x-director fgd
    AddType application/x-dvi dvi
    AddType application/x-futuresplash spl
    AddType application/x-gtar gtar
    AddType application/x-hdf hdf
    AddType application/x-httpd-php php
    AddType application/x-httpd-php-source phps
    AddType application/x-httpd-php3 php3
    AddType application/x-java-jnlp-file jnlp
    AddType application/x-latex latex
    AddType application/x-ms-wmd wmd
    AddType application/x-ms-wmz wmz
    AddType application/x-msaccess mdb
    AddType application/x-msbinder obd
    AddType application/x-mscardfile crd
    AddType application/x-msclip clp
    AddType application/x-msdownload bat
    AddType application/x-msdownload com
    AddType application/x-msdownload dll
    AddType application/x-msdownload exe
    AddType application/x-msdownload msi
    AddType application/x-msmediaview m13
    AddType application/x-msmediaview m14
    AddType application/x-msmediaview mvb
    AddType application/x-msmetafile wmf
    AddType application/x-msmoney mny
    AddType application/x-mspublisher pub
    AddType application/x-msschedule scd
    AddType application/x-msterminal trm
    AddType application/x-mswrite wri
    AddType application/x-netcdf cdf
    AddType application/x-netcdf nc
    AddType application/x-pkcs12 p12
    AddType application/x-pkcs12 pfx
    AddType application/x-pkcs7-certificates p7b
    AddType application/x-pkcs7-certificates spc
    AddType application/x-pkcs7-certreqresp p7r
    AddType application/x-quicktimeplayer qtl
    AddType application/x-rar-compressed rar
    AddType application/x-sh sh
    AddType application/x-shar shar
    AddType application/x-shockwave-flash swf
    AddType application/x-stuffit sit
    AddType application/x-stuffitx sitx
    AddType application/x-sv4cpio sv4cpio
    AddType application/x-sv4crc sv4crc
    AddType application/x-tar tar
    AddType application/x-tar tgz
    AddType application/x-tcl tcl
    AddType application/x-tex tex
    AddType application/x-texinfo texi
    AddType application/x-texinfo texinfo
    AddType application/x-ustar ustar
    AddType application/x-wais-source src
    AddType application/x-x509-ca-cert crt
    AddType application/x-x509-ca-cert der
    AddType application/xenc+xml xenc
    AddType application/xhtml+xml xht
    AddType application/xhtml+xml xhtm
    AddType application/xhtml+xml xhtml
    AddType application/xml xml
    AddType application/xml xsl
    AddType application/xml-dtd dtd
    AddType application/xop+xml xop
    AddType application/xslt+xml xslt
    AddType application/xspf+xml xspf
    AddType application/xv+xml mxml
    AddType application/xv+xml xhvml
    AddType application/xv+xml xvm
    AddType application/xv+xml xvml
    AddType application/zip zip
    AddType audio/basic au
    AddType audio/basic snd
    AddType audio/midi kar
    AddType audio/midi mid
    AddType audio/midi midi
    AddType audio/midi rmi
    AddType audio/mp4 mp4a
    AddType audio/mp4a-latm m4a
    AddType audio/mp4a-latm m4p
    AddType audio/mpeg m2a
    AddType audio/mpeg m3a
    AddType audio/mpeg mp2
    AddType audio/mpeg mp2a
    AddType audio/mpeg mp3
    AddType audio/mpeg mpga
    AddType audio/vnd.digital-winds eol
    AddType audio/vnd.lucent.voice lvp
    AddType audio/vnd.nuera.ecelp4800 ecelp4800
    AddType audio/vnd.nuera.ecelp7470 ecelp7470
    AddType audio/vnd.nuera.ecelp9600 ecelp9600
    AddType audio/wav wav
    AddType audio/x-aiff aif
    AddType audio/x-aiff aifc
    AddType audio/x-aiff aiff
    AddType audio/x-m4a m4a
    AddType audio/x-mpegurl m3u
    AddType audio/x-ms-wax wax
    AddType audio/x-ms-wma wma
    AddType audio/x-pn-realaudio ra
    AddType audio/x-pn-realaudio ram
    AddType audio/x-pn-realaudio rm
    AddType audio/x-pn-realaudio-plugin rmp
    AddType audio/x-scpls pls
    AddType audio/x-wav wav
    AddType chemical/x-cdx cdx
    AddType chemical/x-cif cif
    AddType chemical/x-cmdf cmdf
    AddType chemical/x-cml cml
    AddType chemical/x-csml csml
    AddType chemical/x-pdb pdb
    AddType chemical/x-xyz xyz
    AddType image/bmp bmp
    AddType image/cgm cgm
    AddType image/g3fax g3
    AddType image/gif gif
    AddType image/ief ief
    AddType image/jp2 jp2
    AddType image/jpeg jpe
    AddType image/jpeg jpeg
    AddType image/jpeg jpg
    AddType image/pict pct
    AddType image/pict pic
    AddType image/pict pict
    AddType image/png png
    AddType image/prs.btif btif
    AddType image/svg+xml svg
    AddType image/svg+xml svgz
    AddType image/tiff tif
    AddType image/tiff tiff
    AddType image/vnd.adobe.photoshop psd
    AddType image/vnd.djvu djv
    AddType image/vnd.djvu djvu
    AddType image/vnd.dwg dwg
    AddType image/vnd.dxf dxf
    AddType image/vnd.fastbidsheet fbs
    AddType image/vnd.fpx fpx
    AddType image/vnd.fst fst
    AddType image/vnd.fujixerox.edmics-mmr mmr
    AddType image/vnd.fujixerox.edmics-rlc rlc
    AddType image/vnd.microsoft.icon ico
    AddType image/vnd.ms-modi mdi
    AddType image/vnd.net-fpx npx
    AddType image/vnd.wap.wbmp wbmp
    AddType image/vnd.xiff xif
    AddType image/x-cmu-raster ras
    AddType image/x-cmx cmx
    AddType image/x-macpaint mac
    AddType image/x-macpaint pnt
    AddType image/x-macpaint pntg
    AddType image/x-pcx pcx
    AddType image/x-pict pct
    AddType image/x-pict pic
    AddType image/x-portable-anymap pnm
    AddType image/x-portable-bitmap pbm
    AddType image/x-portable-graymap pgm
    AddType image/x-portable-pixmap ppm
    AddType image/x-quicktime qti
    AddType image/x-quicktime qtif
    AddType image/x-rgb rgb
    AddType image/x-xbitmap xbm
    AddType image/x-xpixmap xpm
    AddType image/x-xwindowdump xwd
    AddType message/rfc822 eml
    AddType message/rfc822 mime
    AddType model/iges iges
    AddType model/iges igs
    AddType model/mesh mesh
    AddType model/mesh msh
    AddType model/mesh silo
    AddType model/vnd.dwf dwf
    AddType model/vnd.gdl gdl
    AddType model/vnd.gtw gtw
    AddType model/vnd.mts mts
    AddType model/vnd.vtu vtu
    AddType model/vrml vrml
    AddType model/vrml wrl
    AddType text/calendar ics
    AddType text/calendar ifb
    AddType text/css css
    AddType text/csv csv
    AddType text/html htm
    AddType text/html html
    AddType text/html shtml
    AddType text/plain asc
    AddType text/plain conf
    AddType text/plain def
    AddType text/plain in
    AddType text/plain list
    AddType text/plain log
    AddType text/plain text
    AddType text/plain txt
    AddType text/prs.lines.tag dsc
    AddType text/richtext rtx
    AddType text/rtf rtf
    AddType text/sgml sgm
    AddType text/sgml sgml
    AddType text/tab-separated-values tsv
    AddType text/troff man
    AddType text/troff me
    AddType text/troff ms
    AddType text/troff roff
    AddType text/troff t
    AddType text/troff tr
    AddType text/uri-list uri
    AddType text/uri-list uris
    AddType text/uri-list urls
    AddType text/vnd.fly fly
    AddType text/vnd.fmi.flexstor flx
    AddType text/vnd.in3d.3dml 3dml
    AddType text/vnd.in3d.spot spot
    AddType text/vnd.sun.j2me.app-descriptor jad
    AddType text/vnd.wap.wml wml
    AddType text/vnd.wap.wmlscript wmls
    AddType text/x-asm s
    AddType text/x-asm sm
    AddType text/x-c c
    AddType text/x-c cc
    AddType text/x-c cpp
    AddType text/x-c cxx
    AddType text/x-c dic
    AddType text/x-c h
    AddType text/x-c hh
    AddType text/x-fortran f
    AddType text/x-fortran f77
    AddType text/x-fortran f90
    AddType text/x-fortran for
    AddType text/x-java-source java
    AddType text/x-pascal p
    AddType text/x-pascal pas
    AddType text/x-setext etx
    AddType text/x-uuencode uu
    AddType text/x-vcalendar vcs
    AddType text/x-vcard vcf
    AddType video/3gp2 3gp2
    AddType video/3gpp 3gp
    AddType video/3gpp 3gpp
    AddType video/3gpp2 3g2
    AddType video/h261 h261
    AddType video/h263 h263
    AddType video/h264 h264
    AddType video/jpeg jpgv
    AddType video/jpm jpgm
    AddType video/jpm jpm
    AddType video/mj2 mj2
    AddType video/mj2 mjp2
    AddType video/mp4 m4v
    AddType video/mp4 mp4
    AddType video/mp4 mp4v
    AddType video/mp4 mpg4
    AddType video/mpeg m1v
    AddType video/mpeg m2v
    AddType video/mpeg mpe
    AddType video/mpeg mpeg
    AddType video/mpeg mpg
    AddType video/quicktime mov
    AddType video/quicktime qt
    AddType video/vnd.fvt fvt
    AddType video/vnd.mpegurl m4u
    AddType video/vnd.mpegurl mxu
    AddType video/vnd.vivo viv
    AddType video/x-dv dif
    AddType video/x-dv dv
    AddType video/x-fli fli
    AddType video/x-ms-asf asf
    AddType video/x-ms-asf asx
    AddType video/x-ms-wm wm
    AddType video/x-ms-wmv wmv
    AddType video/x-ms-wmx wmx
    AddType video/x-ms-wvx wvx
    AddType video/x-msvideo avi
    AddType video/x-sgi-movie movie
    AddType x-conference/x-cooltalk ice
    # Settings for hosting different languages.
    # Required modules: mod_mime, mod_negotiation
    # DefaultLanguage and AddLanguage allows you to specify the language of
    # a document. You can then use content negotiation to give a browser a
    # file in a language the user can understand.
    # Specify a default language. This means that all data
    # going out without a specific language tag (see below) will
    # be marked with this one. You probably do NOT want to set
    # this unless you are sure it is correct for all cases.
    # * It is generally better to not mark a page as
    # * being a certain language than marking it with the wrong
    # * language!
    # DefaultLanguage nl
    # Note 1: The suffix does not have to be the same as the language
    # keyword --- those with documents in Polish (whose net-standard
    # language code is pl) may wish to use "AddLanguage pl .po" to
    # avoid the ambiguity with the common suffix for perl scripts.
    # Note 2: The example entries below illustrate that in some cases
    # the two character 'Language' abbreviation is not identical to
    # the two character 'Country' code for its country,
    # E.g. 'Danmark/dk' versus 'Danish/da'.
    # Note 3: In the case of 'ltz' we violate the RFC by using a three char
    # specifier. There is 'work in progress' to fix this and get
    # the reference data for rfc1766 cleaned up.
    # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
    # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
    # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
    # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
    # Norwegian (no) - Polish (pl) - Portugese (pt)
    # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
    # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
    AddLanguage ca .ca
    AddLanguage cs .cz .cs
    AddLanguage da .dk
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage en .en
    AddLanguage eo .eo
    AddLanguage es .es
    AddLanguage et .et
    AddLanguage fr .fr
    AddLanguage he .he
    AddLanguage hr .hr
    AddLanguage it .it
    AddLanguage ja .ja
    AddLanguage ko .ko
    AddLanguage ltz .ltz
    AddLanguage nl .nl
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddLanguage pt .pt
    AddLanguage pt-BR .pt-br
    AddLanguage ru .ru
    AddLanguage sv .sv
    AddLanguage zh-CN .zh-cn
    AddLanguage zh-TW .zh-tw
    # LanguagePriority allows you to give precedence to some languages
    # in case of a tie during content negotiation.
    # Just list the languages in decreasing order of preference. We have
    # more or less alphabetized them here. You probably want to change this.
    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
    # ForceLanguagePriority allows you to serve a result page rather than
    # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
    # [in case no accepted languages matched the available variants]
    ForceLanguagePriority Prefer Fallback
    # Commonly used filename extensions to character sets. You probably
    # want to avoid clashes with the language extensions, unless you
    # are good at carefully testing your setup after each change.
    # See http://www.iana.org/assignments/character-sets for the
    # official list of charset names and their respective RFCs.
    AddCharset us-ascii.ascii .us-ascii
    AddCharset ISO-8859-1 .iso8859-1 .latin1
    AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
    AddCharset ISO-8859-3 .iso8859-3 .latin3
    AddCharset ISO-8859-4 .iso8859-4 .latin4
    AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
    AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
    AddCharset ISO-8859-7 .iso8859-7 .grk .greek
    AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
    AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
    AddCharset ISO-8859-10 .iso8859-10 .latin6
    AddCharset ISO-8859-13 .iso8859-13
    AddCharset ISO-8859-14 .iso8859-14 .latin8
    AddCharset ISO-8859-15 .iso8859-15 .latin9
    AddCharset ISO-8859-16 .iso8859-16 .latin10
    AddCharset ISO-2022-JP .iso2022-jp .jis
    AddCharset ISO-2022-KR .iso2022-kr .kis
    AddCharset ISO-2022-CN .iso2022-cn .cis
    AddCharset Big5.Big5 .big5 .b5
    AddCharset cn-Big5 .cn-big5
    # For russian, more than one charset is used (depends on client, mostly):
    AddCharset WINDOWS-1251 .cp-1251 .win-1251
    AddCharset CP866 .cp866
    AddCharset KOI8 .koi8
    AddCharset KOI8-E .koi8-e
    AddCharset KOI8-r .koi8-r .koi8-ru
    AddCharset KOI8-U .koi8-u
    AddCharset KOI8-ru .koi8-uk .ua
    AddCharset ISO-10646-UCS-2 .ucs2
    AddCharset ISO-10646-UCS-4 .ucs4
    AddCharset UTF-7 .utf7
    AddCharset UTF-8 .utf8
    AddCharset UTF-16 .utf16
    AddCharset UTF-16BE .utf16be
    AddCharset UTF-16LE .utf16le
    AddCharset UTF-32 .utf32
    AddCharset UTF-32BE .utf32be
    AddCharset UTF-32LE .utf32le
    AddCharset euc-cn .euc-cn
    AddCharset euc-gb .euc-gb
    AddCharset euc-jp .euc-jp
    AddCharset euc-kr .euc-kr
    #Not sure how euc-tw got in - IANA doesn't list it???
    AddCharset EUC-TW .euc-tw
    AddCharset gb2312 .gb2312 .gb
    AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
    AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
    AddCharset shift_jis .shift_jis .sjis
    </IfModule>
    ## The modmimemagic module allows the server to use various hints from the
    ## contents of the file itself to determine its type. The MIMEMagicFile
    ## directive tells the module where the hint definitions are located.
    <IfModule modmimemagic.c>
    MIMEMagicFile /etc/apache2/magic
    </IfModule>
    ## HostnameLookups: Log the names of clients or just their IP addresses
    ## e.g., www.apache.org (on) or 204.62.129.132 (off).
    ## The default is off because it'd be overall better for the net if people
    ## had to knowingly turn this feature on, since enabling it means that
    ## each client request will result in AT LEAST one lookup request to the
    ## nameserver.
    HostnameLookups Off
    ## LogLevel: Control the number of messages logged to the error_log.
    ## Possible values include: debug, info, notice, warn, error, crit,
    ## alert, emerg.
    LogLevel warn
    <IfModule modlogconfig.c>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    <IfModule mod_logio.c>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    #### For Mac OS X Server: Server Admin manages CustomLog directives
    #### on a virtual host basis.
    #CustomLog /var/log/apache2/access_log common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog /var/log/apache2/access_log combined
    </IfModule>
    ## Optionally add a line containing the server version and virtual host
    ## name to server-generated pages (error documents, FTP directory listings,
    ## mod_status and mod_info output etc., but not CGI generated documents).
    ## Set to "EMail" to also include a mailto: link to the ServerAdmin.
    ## Set to one of: On | Off | EMail
    ServerSignature On
    UseCanonicalName Off
    ## Aliases: Add here as many aliases as you need (with no limit). The format is
    ## Alias fakename realname
    <IfModule mod_alias.c>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
    #### For Mac OS X Server: Uncomment this line to enable web-based
    #### configuration of mailman:
    #Include /etc/apache2/httpd_mailman.conf
    <IfModule mod_setenvif.c>
    <IfModule mod_negotiation.c>
    # Allow convenient access to Apache manual
    AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/Library/WebServer/share/httpd/manual$1"
    <Directory "/Library/WebServer/share/httpd/manual">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
    <Files *.html>
    SetHandler type-map
    </Files>
    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
    LanguagePriority en de es fr ja ko pt-br ru ForceLanguagePriority Prefer Fallback
    </Directory>
    </IfModule>
    </IfModule>
    </IfModule>
    ## Directives controlling the display of server-generated directory listings.
    #### For Mac OS X Server: Note that indexing is further controlled
    #### by the Server Admin application, which adds "Options +/-Indexes
    #### in the virtual host scope.
    <IfModule mod_autoindex.c>
    ## FancyIndexing is whether you want fancy directory indexing or standard
    IndexOptions FancyIndexing
    ## AddIcon* directives tell the server which icon to show for different
    ## files or filename extensions. These are only displayed for
    ## FancyIndexed directories.
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    ## DefaultIcon is which icon to show for files which do not have an icon
    ## explicitly set.
    DefaultIcon /icons/unknown.gif
    ## AddDescription allows you to place a short description after a file in
    ## server-generated indexes. These are only displayed for FancyIndexed
    ## directories.
    ## Format: AddDescription "description" filename
    #AddDescription "GZIP compressed document" .gz
    #AddDescription "tar archive" .tar
    #AddDescription "GZIP compressed tar archive" .tgz
    #AddDescription "Mac OS Disk Image file" .dmg
    ## ReadmeName is the name of the README file the server will look for by
    ## default, and append to directory listings.
    ## HeaderName is the name of a file which should be prepended to
    ## directory indexes.
    ## If MultiViews are amongst the Options in effect, the server will
    ## first look for name.html and include it if found. If name.html
    ## doesn't exist, the server will then look for name.txt and include
    ## it as plaintext if found.
    ReadmeName README
    HeaderName HEADER
    ## IndexIgnore is a set of filenames which directory indexing should ignore
    ## and not include in the listing. Shell-style wildcarding is permitted.
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    </IfModule>
    ## MetaDir: specifies the name of the directory in which Apache can find
    ## meta information files. These files contain additional HTTP headers
    ## to include when sending the document
    #MetaDir .web
    ## MetaSuffix: specifies the file name suffix for the file containing the
    ## meta information.
    #MetaSuffix .meta
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # The configuration below implements multi-language error documents through
    # content-negotiation, and via the default Alias for /error in the vhost config file.
    <Directory "/usr/share/httpd/error">
    AllowOverride None
    Options IncludesNoExec
    AddOutputFilter Includes html
    AddHandler type-map var
    Order allow,deny
    Allow from all
    LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
    ForceLanguagePriority Prefer Fallback
    </Directory>
    ErrorDocument 400 /error/HTTPBADREQUEST.html.var
    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
    ErrorDocument 404 /error/HTTPNOTFOUND.html.var
    ErrorDocument 405 /error/HTTPMETHOD_NOTALLOWED.html.var
    ErrorDocument 408 /error/HTTPREQUEST_TIMEOUT.html.var
    ErrorDocument 410 /error/HTTP_GONE.html.var
    ErrorDocument 411 /error/HTTPLENGTHREQUIRED.html.var
    ErrorDocument 412 /error/HTTPPRECONDITIONFAILED.html.var
    ErrorDocument 413 /error/HTTPREQUEST_ENTITY_TOOLARGE.html.var
    ErrorDocument 414 /error/HTTPREQUEST_URI_TOOLARGE.html.var
    ErrorDocument 415 /error/HTTPUNSUPPORTED_MEDIATYPE.html.var
    ErrorDocument 500 /error/HTTPINTERNAL_SERVERERROR.html.var
    ErrorDocument 501 /error/HTTPNOTIMPLEMENTED.html.var
    ErrorDocument 502 /error/HTTPBADGATEWAY.html.var
    ErrorDocument 503 /error/HTTPSERVICEUNAVAILABLE.html.var
    ErrorDocument 506 /error/HTTPVARIANT_ALSOVARIES.html.var
    # Allow server status reports generated by mod_status,
    # with the URL of http://servername/server-status
    <IfModule mod_status.c>
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Location>
    # ExtendedStatus controls whether Apache will generate "full" status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the "server-status" handler is called. The default is Off.
    ExtendedStatus On
    </IfModule>
    # Allow remote server configuration reports, with the URL of
    # http://servername/server-info (requires that mod_info.c be loaded).
    #<IfModule mod_info.c>
    # <Location /server-info>
    # SetHandler server-info
    # Order deny,allow
    # Deny from all
    # Allow from .your-domain.com
    # </Location>
    #</IfModule>
    ## Proxy Server directives.
    <IfModule mod_proxy.c>
    ProxyRequests Off
    <IfModule moddiskcache.c>
    CacheEnable disk /
    CacheRoot "/var/run/proxy"
    </IfModule>
    </IfModule>
    ## SSL stuff
    <IfModule mod_ssl.c>
    SetEnvIf User-Agent ".MSIE." nokeepalive ssl-unclean-shutdown
    SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
    SSLSessionCache shmcb:/var/run/ssl_scache(512000)
    SSLSessionCacheTimeout 300
    SSLMutex file:/var/log/apache2/ssl_mutex
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    AddType application/x-x509-ca-cert crt
    AddType application/x-pkcs7-crl crl
    </IfModule>
    <IfModule mod_jk.c>
    JkWorkersFile /etc/apache2/workers.properties
    JkLogFile /var/log/apache2/mod_jk.log
    JkLogLevel error
    JkMount /*.jsp JBoss1
    JkMount /servlet/* JBoss1
    JkMount /examples/* JBoss1
    </IfModule>
    ## The default server is used for status on a special port
    #ServerName www.example.com
    Listen 127.0.0.1:9010
    DocumentRoot "/var/empty"
    ErrorLog "/var/log/apache2/error_log"
    <Directory /var/empty>
    Order Deny,Allow
    Deny from All
    </Directory>
    <IfModule modspotlightapple2.c>
    Spotlight On
    </IfModule>
    <IfModule modauth_digestapple.c>
    BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} ^TRACE
    RewriteRule .* - [F]
    </IfModule>
    <IfModule mod_headers.c>
    Header add MS-Author-Via "DAV"
    RequestHeader set XFORWARDEDPROTO 'https' env=https
    </IfModule>
    <IfModule mod_encoding.c>
    EncodingEngine on
    NormalizeUsername on
    DefaultClientEncoding UTF-8
    # Windows XP?
    AddClientEncoding "Microsoft-WebDAV-MiniRedir/" MSUTF-8
    # Windows 2K SP2 with .NET
    AddClientEncoding "(Microsoft .* DAV\$)" MSUTF-8
    # Windows 2K SP2/Windows XP
    AddClientEncoding "(Microsoft .* DAV 1.1)" CP932
    # Windows XP?
    AddClientEncoding "Microsoft-WebDAV*" CP932
    # RealPlayer
    AddClientEncoding "RMA/*" CP932
    # MacOS X webdavfs
    AddClientEncoding "WebDAVFS" UTF-8
    # cadaver
    AddClientEncoding "cadaver/" EUC-JP
    </IfModule>
    RLimitNPROC max max
    ExtendedStatus On
    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 500
    KeepAliveTimeout 15
    # As of Mac OS X Server 10.5, the compiled-in server limit is 2048
    ServerLimit 2048
    # Server Admin manages ListenBackLog as a function of MaxClients: min(511, MaxClients/2)
    MaxClients 1024
    ListenBackLog 512
    # Including WebObjects Configs
    Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
    #### The following Include directive is essential for the virtual hosts to be usable.
    Include "/etc/apache2/sites/*.conf"
    ========HTTPD.CONF==========

    I am modifying the correct httpd.conf file on the server, it just doesn't seem to work. - If I put the rewrite rules in the <Directory /> the rewrite works but it adds /Library/WebServer/Documents to the URL.
    I also tried putting the rewrite rules in <IfModule mod_rewrite.c> but that did not work either.
    mod_rewrite is enabled and running on the server.
    I will post the rewrite rules again in the code brackets. Sorry for the long post. - If some one can try them out on their Leopard Server to see if they can get them to work, it would be much appreciated. Again, these work on my Leopard Client but I can't get them to work on Server.
    -- The httpd.conf file posted above is just the default conf file found in /private/etc/apache2/
    <code>
    RewriteEngine On
    Options +FollowSymLinks
    RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
    RewriteRule (.+)\.php(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
    RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
    RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
    RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
    RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
    RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
    RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
    RewriteRule (.+)\..(.)$ $1$2 [R, L]]
    <code>

Maybe you are looking for