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 (1388) - htaccess mac os x (1115) - mac htaccess (771) - mac os X htaccess (753) - mod rewrite mac os x (299) - os x htaccess (298) - htaccess os x (266) - htaccess osx (251) - htaccess on mac (241) - osx htaccess (236) - .htaccess mac (218) - mac apache htaccess (216) - google heart mac (206) - htaccess macosx (173) - htaccess leopard (171) - mod rewrite os x (169) - mac os x apache htaccess (151) - leopard htaccess (140) - mac .htaccess (131) - htaccess mac osx (127) - GOOGLE HEARTH MAC (107) - mac os x mod rewrite (105) - google heart for mac (102) - htaccess mac os (102) - enable htaccess mac os x (95) - .htaccess on mac (94) - os x mod rewrite (94) - mac os x server htaccess (90) - os x apache htaccess (84) - mod rewrite osx (80) - leopard mod_rewrite (79) - mod rewrite mac (78) - OSX apache htaccess (77) - mamp htaccess (77) - Mac OS HTACCESS (74) - .htaccess leopard (74) - leopard .htaccess (71) - htaccess os x server (70) - htaccess apache mac (69) - .htaccess mac os x (64) - mac os x apache mod rewrite (64) - htaccess apache mac os x (63) - mac os x .htaccess (59) - mac osx htaccess (58) - htaccess on a mac (57) - htaccess mac os x server (56) - htaccess apache os x (55) - mamp .htaccess (53) - htaccess on mac os x (53) - htaccess in mac (53) - .htaccess OSX (53) - osx mod rewrite (51) - htaccess osx server (51) - macosx htaccess (50) - apache htaccess mac (50) - os x .htaccess (48) - htaccess macos (47) - htaccess macOS X (42) - htaccess for mac (42) - mod_rewrite leopard (40) - htaccess mac os x apache (37) - OS X server htaccess (37) - mac mod rewrite (37) - create htaccess mac (36) - mac osx apache htaccess (36) - google hearth for mac (35) - os x apache mod rewrite (35) - enable htaccess (35) - apache htaccess mac os x (34) - mac apache mod rewrite (34) - htaccess mac server (34) - enable htaccess leopard (34) - google hearts (33) - google hearth mac os x (33) - enable htaccess Mac (33) - mac os apache htaccess (33) - leopard apache htaccess (32) - .htaccess os x (32) - enable htaccess os x (31) - mac os x enable htaccess (31) - htaccess mac apache (30) - google heart (29) - ModRewrite osx (29) - mac leopard apache htaccess (29) - macos htaccess (28) - apache mac htaccess (27) - apache htaccess os x (27) - mod rewrite apache mac (26) - .htaccess mac os (26) - htaccess in mac os x (25) - mod rewrite mac os (25) - htacces macos (25) - osx apache mod rewrite (24) - htaccess file mac (24) - enabling htaccess (23) - htaccess sur mac (23) - apache mod rewrite mac os x (22) - create htaccess mac os x (22) - os x enable htaccess (22) - apache mac os x htaccess (22) - apache osx htaccess (22) - htaccess am mac (22) - .htaccess (21) - enable mod rewrite os x (21) - mod rewrite macosx (21) - osx server htaccess (21) - HTACCESS EN MAC OS X (21) - htaccess auf mac (21) - create htaccess on Mac (20) - enable htaccess on mac (20) - google heart mac osx (20) - apache htaccess osx (20) - mod rewrite mac os x server (20) - htaccess on os x (20) - mac os x apache .htaccess (19) - mac apache .htaccess (19) - mac os x htaccess files (18) - google heart osx (18) - apache os x htaccess (18) - htaccess in osx (18) - mac apache modrewrite (18) - htaccess enable os x (18) - Enable htaccess on Mac OS X (18) - htaccess file mac osx (18) - leopard server htaccess (18) - Leopard Server .htaccess (17) - google heart mac os x (17) - mod rewrite mac osx (17) - htaccess apache macosx (17) - modrewrite os x (17) - htaccess mamp (17) - .htaccess in mac (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) - Enabling htaccess mac (15) - enable mod rewrite mac os x (15) - mod rewrite apache OS X (15) - mac server htaccess (15) - htaccess Mac OS Server (15) - htaccess file os x (15) - htaccess leopard server (15) - leopard enable htaccess (15) - apache mod rewrite os x (14) - Create htaccess OS X (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/