I do a lot of web development on my
laptop. I’ve got Apache and PHP there, so it’s really convenient, but I usually move projects off to other server before I get around to wanting to mess with mod_rewrite. Not so, recently, but I ran into a big stumbling block when I discovered OS X’s Apache comes pre-configured to ignore .htaccess files.
A couple points. First, Apache’s own mod_rewrite docs include the following quote:
Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo.
So I’m not going to feel too bad about scratching my head for a minute before realizing I should check to make sure the httpd.conf file had support for .htaccess files enabled, but the second point, and I know this thanks to Richard Rutter’s Clagnut, support must also be enabled in the user’s http.conf file (located in /private/etc/httpd/users/). For full details, go read Rutter’s enabling .htaccess in OS X post.
tags: .htaccess, apache, apache http server, apache web server, docs, enabling .htaccess files, httpd.conf, mac, mac os x, mod_rewrite, os x, richard rutter
Posted August 30, 2005 by Casey Bisson
Categories: Technology. Tags: .htaccess, apache, apache http server, apache web server, docs, enabling .htaccess files, httpd.conf, mac, mac os X, mod_rewrite, os x, richard rutter.
3 Comments
Comments RSS
TrackBack Identifier URI
User contributed tags for this post:
htaccess mac (1613) - htaccess mac os x (1230) - mac htaccess (925) - mac os X htaccess (831) - .htaccess mac (569) - os x htaccess (336) - htaccess osx (309) - mod rewrite mac os x (299) - htaccess os x (296) - mac .htaccess (293) - htaccess on mac (293) - mac apache htaccess (275) - osx htaccess (258) - htaccess leopard (248) - leopard htaccess (221) - google heart mac (206) - .htaccess on mac (198) - .htaccess mac os x (194) - mac os x apache htaccess (182) - htaccess macosx (180) - mod rewrite os x (169) - leopard .htaccess (145) - mac os x .htaccess (141) - htaccess mac osx (140) - mamp htaccess (133) - htaccess mac os (129) - leopard mod_rewrite (126) - .htaccess leopard (126) - .htaccess OSX (115) - GOOGLE HEARTH MAC (107) - enable htaccess mac os x (106) - mac os x mod rewrite (105) - google heart for mac (102) - mac os x server htaccess (100) - mamp .htaccess (100) - Mac OS HTACCESS (96) - os x mod rewrite (94) - os x .htaccess (92) - os x apache htaccess (88) - htaccess apache mac (83) - mod rewrite osx (80) - OSX apache htaccess (80) - mod rewrite mac (78) - mac osx htaccess (74) - htaccess os x server (71) - htaccess apache mac os x (70) - leopard apache htaccess (67) - htaccess mac os x server (66) - htaccess on mac os x (65) - mac os x apache mod rewrite (64) - htaccess on a mac (62) - enable htaccess leopard (60) - .htaccess os x (60) - htaccess apache os x (58) - mod_rewrite leopard (56) - htaccess in mac (55) - macosx htaccess (54) - htaccess osx server (53) - htaccess macos (52) - apache htaccess mac (52) - osx mod rewrite (51) - .htaccess mac os (51) - mac os x apache .htaccess (49) - htaccess for mac (46) - mac apache .htaccess (44) - enable htaccess os x (44) - mac os apache htaccess (44) - enable htaccess Mac (43) - htaccess macOS X (42) - OS X server htaccess (41) - htaccess mac os x apache (40) - mac osx apache htaccess (40) - .htaccess on mac os x (39) - create htaccess mac (39) - mac mod rewrite (39) - htaccess mac apache (39) - .htaccess in mac (39) - mac os x enable htaccess (38) - htaccess mac server (38) - htaccess mamp (38) - apache mac htaccess (36) - mac apache mod rewrite (36) - mac os .htaccess (36) - google hearth for mac (35) - os x apache mod rewrite (35) - apache htaccess mac os x (35) - enable htaccess (35) - macos htaccess (35) - google hearts (33) - google hearth mac os x (33) - leopard server htaccess (32) - apache mac os x htaccess (31) - htaccess file mac (31) - leopard apache .htaccess (31) - mac leopard apache htaccess (30) - Leopard Server .htaccess (29) - google heart (29) - ModRewrite osx (29) - osx .htaccess (29) - mod rewrite apache mac (28) - apache htaccess os x (27) - mac osx .htaccess (27) - htaccess in mac os x (26) - mac apache enable htaccess (26) - htaccess leopard server (26) - .htaccess mac osx (26) - mod rewrite mac os (25) - osx server htaccess (25) - htacces macos (25) - osx apache mod rewrite (24) - htaccess sur mac (24) - mod_rewrite mac os x leopard (24) - .htaccess files on Mac (24) - enabling htaccess (23) - htaccess auf mac (23) - htaccess am mac (23) - apache mod rewrite mac os x (22) - create htaccess mac os x (22) - os x enable htaccess (22) - apache osx htaccess (22) - htaccess on os x (22) - create htaccess on Mac (21) - .htaccess (21) - enable mod rewrite os x (21) - apache htaccess osx (21) - mac server htaccess (21) - mod rewrite macosx (21) - macosx apache htaccess (21) - htaccess file mac osx (21) - HTACCESS EN MAC OS X (21) - enable htaccess on mac (20) - google heart mac osx (20) - apache os x htaccess (20) - mod rewrite mac os x server (20) - htaccess in osx (20) - enable .htaccess leopard (20) - .htaccess mac Leopard (20) - .htaccess Leopard Server (20) - mac leopard htaccess (19) - leopard enable htaccess (19) - mac os x htaccess files (18) - google heart osx (18) - mac apache modrewrite (18) - htaccess enable os x (18) - Enable htaccess on Mac OS X (18) - mac os x leopard mod_rewrite (18) - .htaccess on Leopard (18) - macosx .htaccess (18) - .htaccess MacOsx (18) - google heart mac os x (17) -
thank you!
I’ve been looking everywhere and didn’t know I had to edit that damn private/etc/user file ack!
now it works
THANK YOU SO MUCH!!!
I’ve been struggling with this for a while now
Hy! I saw a blog where they explained how to activate htaccess on leopard. Here http://www.fernandoalou.com/blog/archivo/2008/08/09/1/como-activar-httaccess-en-apache-de-leopard-osx-10.5/