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
Related:
Posted August 30, 2005 by Casey
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 (1306) - htaccess mac os x (1073) - mac os X htaccess (732) - mac htaccess (714) - mod rewrite mac os x (299) - os x htaccess (283) - htaccess os x (259) - osx htaccess (226) - htaccess on mac (217) - htaccess osx (217) - google heart mac (206) - mac apache htaccess (202) - mod rewrite os x (169) - htaccess macosx (168) - mac os x apache htaccess (144) - htaccess leopard (123) - htaccess mac osx (118) - GOOGLE HEARTH MAC (107) - mac os x mod rewrite (105) - .htaccess mac (103) - google heart for mac (101) - leopard htaccess (98) - 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 (82) - mod rewrite osx (80) - mod rewrite mac (78) - OSX apache htaccess (73) - mac .htaccess (71) - htaccess apache mac (68) - Mac OS HTACCESS (66) - htaccess os x server (65) - mac os x apache mod rewrite (64) - htaccess apache mac os x (63) - leopard mod_rewrite (59) - htaccess mac os x server (56) - htaccess on a mac (56) - htaccess apache os x (55) - osx mod rewrite (51) - mac osx htaccess (51) - htaccess osx server (51) - htaccess on mac os x (49) - mamp htaccess (49) - .htaccess on mac (48) - apache htaccess mac (47) - macosx htaccess (46) - htaccess macos (45) - htaccess in mac (45) - htaccess macOS X (41) - htaccess for mac (39) - leopard .htaccess (38) - OS X server htaccess (37) - mac mod rewrite (37) - os x .htaccess (36) - 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) - mod_rewrite leopard (34) - mac apache mod rewrite (34) - google hearts (33) - google hearth mac os x (33) - apache htaccess mac os x (33) - htaccess mac server (33) - .htaccess leopard (33) - mac os apache htaccess (32) - enable htaccess os x (31) - mac os x enable htaccess (31) - google heart (29) - enable htaccess Mac (29) - ModRewrite osx (29) - htaccess mac apache (29) - mac leopard apache htaccess (29) - mac os x .htaccess (28) - mamp .htaccess (27) - apache htaccess os x (27) - .htaccess mac os x (26) - mod rewrite apache mac (26) - .htaccess OSX (26) - mod rewrite mac os (25) - htacces macos (25) - osx apache mod rewrite (24) - htaccess in mac os x (24) - leopard apache htaccess (24) - apache mac htaccess (23) - enabling htaccess (23) - macos htaccess (23) - apache mod rewrite mac os x (22) - create htaccess mac os x (22) - apache mac os x htaccess (22) - htaccess am mac (22) - htaccess sur mac (22) - enable htaccess leopard (22) - .htaccess (21) - apache osx 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 os x (16) - enable mod rewrite mac os x (15) - mod rewrite apache OS X (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) - htaccess Mac OS Server (14) - Enabling htaccess in OS X (14) - mac apache enable htaccess (14) - htaccess file os x (14) - leopard server htaccess (14) - leopard enable htaccess (14) - time passing quote (13) -
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/