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
Leave a comment
User contributed tags for this post:
htaccess mac (1326) - htaccess mac os x (1079) - mac os X htaccess (742) - mac htaccess (727) - mod rewrite mac os x (299) - os x htaccess (286) - htaccess os x (260) - htaccess osx (230) - osx htaccess (228) - htaccess on mac (224) - google heart mac (206) - mac apache htaccess (205) - htaccess macosx (172) - mod rewrite os x (169) - .htaccess mac (146) - mac os x apache htaccess (145) - htaccess leopard (137) - htaccess mac osx (120) - leopard htaccess (108) - GOOGLE HEARTH MAC (107) - mac os x mod rewrite (105) - google heart for mac (102) - htaccess mac os (97) - os x mod rewrite (94) - enable htaccess mac os x (94) - mac os x server htaccess (90) - os x apache htaccess (83) - mac .htaccess (82) - mod rewrite osx (80) - mod rewrite mac (78) - OSX apache htaccess (75) - htaccess os x server (69) - htaccess apache mac (68) - Mac OS HTACCESS (68) - .htaccess on mac (64) - mac os x apache mod rewrite (64) - htaccess apache mac os x (63) - leopard mod_rewrite (59) - mamp htaccess (57) - htaccess mac os x server (56) - htaccess on a mac (56) - htaccess apache os x (55) - mac osx htaccess (54) - osx mod rewrite (51) - htaccess osx server (51) - htaccess on mac os x (50) - htaccess in mac (50) - macosx htaccess (49) - .htaccess leopard (48) - leopard .htaccess (47) - apache htaccess mac (47) - htaccess macos (45) - htaccess macOS X (42) - .htaccess mac os x (41) - htaccess for mac (40) - os x .htaccess (39) - mamp .htaccess (38) - mod_rewrite leopard (37) - OS X server htaccess (37) - mac mod rewrite (37) - mac os x .htaccess (37) - create htaccess mac (35) - google hearth for mac (35) - htaccess mac os x apache (35) - os x apache mod rewrite (35) - enable htaccess (35) - mac osx apache htaccess (35) - mac apache mod rewrite (34) - google hearts (33) - google hearth mac os x (33) - apache htaccess mac os x (33) - mac os apache htaccess (33) - htaccess mac server (33) - enable htaccess os x (31) - mac os x enable htaccess (31) - .htaccess OSX (31) - htaccess mac apache (30) - google heart (29) - enable htaccess Mac (29) - ModRewrite osx (29) - mac leopard apache htaccess (29) - apache htaccess os x (27) - mod rewrite apache mac (26) - leopard apache htaccess (26) - htaccess in mac os x (25) - mod rewrite mac os (25) - htacces macos (25) - macos htaccess (25) - enable htaccess leopard (25) - osx apache mod rewrite (24) - apache mac htaccess (23) - enabling htaccess (23) - .htaccess os x (23) - apache mod rewrite mac os x (22) - create htaccess mac os x (22) - apache mac os x htaccess (22) - apache osx htaccess (22) - htaccess am mac (22) - htaccess sur mac (22) - .htaccess (21) - HTACCESS EN MAC OS X (21) - htaccess file mac (21) - htaccess auf mac (21) - enable mod rewrite os x (20) - google heart mac osx (20) - apache htaccess osx (20) - mod rewrite mac os x server (20) - os x enable htaccess (20) - mod rewrite macosx (20) - osx server htaccess (20) - enable htaccess on mac (19) - google heart osx (18) - htaccess in osx (18) - mac apache modrewrite (18) - htaccess enable os x (18) - Enable htaccess on Mac OS X (18) - create htaccess on Mac (17) - mac os x htaccess files (17) - google heart mac os x (17) - mod rewrite mac osx (17) - apache os x htaccess (17) - htaccess apache macosx (17) - modrewrite os x (17) - htaccess file mac osx (17) - htaccess on os x (17) - google erth for mac (16) - google heart os x (16) - mod rewrite apache mac os x (16) - htaccess examples (16) - enable htaccess apache (16) - macosx apache htaccess (16) - Mac apache rewrite (16) - F (16) - .htaccess mac os (16) - enable mod rewrite mac os x (15) - mod rewrite apache OS X (15) - htaccess Mac OS Server (15) - htaccess file os x (15) - leopard server htaccess (15) - apache mod rewrite os x (14) - Enabling htaccess mac (14) - Create htaccess OS X (14) - htaccess mac osx server (14) - mac os mod rewrite (14) - google heart for os x (14) - enabling htaccess on mac os x (14) - mod rewrite on mac os x (14) - Enabling htaccess in OS X (14) - mac apache enable htaccess (14) - leopard enable htaccess (14) -
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/