Home > osx > mod_rewrite problems in sandbox: Mac OSX 10.6.6 Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8l DAV/2 PHP/5.3.3

mod_rewrite problems in sandbox: Mac OSX 10.6.6 Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8l DAV/2 PHP/5.3.3

October 11Hits:1
Advertisement

greetings earthlings,

I develop sites on a mac and have been trying to get mod_rewrite to work unsuccessfully. I have it working at my hosting provider just fine but really need it local to test/develop.

Mac OSX 10.6.6 Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8l DAV/2 PHP/5.3.3

I've tried many variations found on the web with no luck.

At this point I'm just trying to get a test directory, named "mod_rewrite," working.

Here's my /etc/apache2/users/me.conf file:

 <Directory "/Users/me/Sites/">     Options Indexes -MultiViews     AllowOverride None     Order allow,deny     Allow from all </Directory>   <Directory "/Users/me/Sites/mod_rewrite">      Options All -MultiViews                         AllowOverride All      Order allow,deny      Allow from all </Directory>

My .htaccess file in the "mod_rewrite" directory is this:

RewriteEngine on  RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 [L]  

Pretty basic for now as a test. As I noted it works fine on my hosting platform.

I restart Apache with each change. Usually there is no change. Sometimes I've broken the whole damn thing. Sometimes I get permission denied for the test directory.

Related Articles

  • mod_rewrite problems in sandbox: Mac OSX 10.6.6 Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8l DAV/2 PHP/5.3.3October 11

    greetings earthlings, I develop sites on a mac and have been trying to get mod_rewrite to work unsuccessfully. I have it working at my hosting provider just fine but really need it local to test/develop. Mac OSX 10.6.6 Apache/2.2.15 (Unix) mod_ssl/2.

  • Having a Problem After Installing Mac-osx Theme and setting it up With Cairo dockDecember 30

    When i write sudo apt-get upgrade This message Shows Up:"dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2) " Any Help ?! --------------Solutions

  • Mac OSX 10.8.4 - Apache - Setting up Virtual hostsOctober 14

    I can't seem to get my virtual hosts working: I have an /etc/apache2/users/scottr.conf set up as: <Directory "/Users/scottr/Sites/"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory

  • rpy2 installation on Mac OSX. A still unresolved problem on StackExchange and rpy-list July 16

    following lgautier's advice on rpy2 installation on Mac OSX, I posted my request on rpy-list and got in touch with Yair Benita who said he could only install rpy2 through his default Mac OS X python and wondered if I had not another version running.

  • Chromium Sandbox on Mac OSX: Is it enabled by default?January 10

    I have decided to finally replace the closed source and privately owned Google Chrome with the open-source Chromium on my Mac OSX 10.9.2 (Mavericks). I have read the differences between both here: And the article suggests that in Chromium, unlike Chr

  • Problem start up dual boot Linux and Mac OSX El CapitanOctober 4

    After a long work i succesfully install dual boot Linux (Bio linux 8) on a macbook Pro with Mac OSX El Capitan. First of all i install reFIND on mac and this helpfull utility give me the opportunity to select to start up linux from a USB drive. After

  • Mac Osx 10.8.3 Shares Big problemsMay 3

    I'm tryng to share folders from an 10.8.3 imac to users in my LAN (using bot mac and windows) I'm having this problem: 1) Mac users can access the share using afp:// but when they create new folders the permission are: drwxr-xr-x so no other can writ

  • encryption software for portable media, that works on both Mac OSX and WindowsJuly 15

    I'm looking for software that can encrypt portable media (hard drive or thumb drive) in such a way that it's transparent to the OS, and is portable between Mac OSX and Windows. (trying to regularly transfer files between two computers, and just want

  • How can I burn Mac OSX compatible DVDs using Windows XP?

    How can I burn Mac OSX compatible DVDs using Windows XP? September 24

    What is a good DVD burning application for Windows XP that can create an disk that is mountable on Mac OSX? Of course, free would be nice. --------------Solutions------------- Have you checked out CDBurnerXP? Incidentally, I'm pretty sure OSX will op

  • How to alias a hostname on Mac OSXJune 14

    In a nutshell, I would like to be able to open a browser and open local.example.com but it actually loads http://localhost/path/to/example.com/ I am using Mac OSX 10.5, and not afraid to get my hands dirty with the terminal :) I use Apache as my loca

  • Software for "remote whiteboard" that works on Linux and Mac OSX?

    Software for "remote whiteboard" that works on Linux and Mac OSX? September 30

    I'm looking for teleconferencing software. While the audio (and video) are usually trivially solvable by Skype, I have problem finding software that would let me share "whiteboard" that all parties could write on, while teleconferencing. The pro

  • Mac OSX: start Google Chrome in kiosk mode - error?November 12

    I am trying to load Google Chrome in kiosk mode on OSX using the answer that was given here Start Google Chrome on Mac with command line switches But, when I run it from the terminal, it spits out a bunch of text and then opens up Google Chrome norma

  • GParted failing to shrink hfs+ partition; Mac OSX disk utility reporting no space leftApril 3

    I'm trying to make a spot for Ubuntu on my external drive from which I boot my mac. Right now, the drive has only one partition, an hfs+ partition that stores Mac OS X. I'm using gparted to modify the drive from another computer running linux. Howeve

  • Git: command not found during Git installation (Mac OSX 10.6)May 4

    I am trying to install Git on my Mac (OSX 10.6) following the official Git tutorial. I had no problem until I had to set my username and my email. Every time I tried I got -bash: git: command not found I tried echo 'export PATH=/usr/local/git/bin:$PA

  • Mac OSX system with a non-Mac mouseJuly 5

    My operating system is Mac OSX Leopard, but I am using a non-Mac, two-button mouse. How do I enable the left button to automatically open files with a double click? --------------Solutions------------- The left button should work that way automatical

  • Mac OSX 10.6 105-key keyboard layout for japaneseJuly 26

    I'm quite a novice when it comes to Mac OS X (but I am an IT professional using Windows and Linux), but I have recently started using one. The computer came with a 109-key japanese keyboard, but I want to use a 105-key english keyboard with it. Since

  • Mac OSX Snow Leopard FTPAugust 12

    So here is the issue. A client of mine is using Mac OSX Snow Leopard as his web server. He has multiple clients, and sites, etc. He also has multiple designers who access the system. He has a user who he has locked down to certain directories (for si

  • Keep connection to external HDD alive on Mac OSXSeptember 1

    Currently I have an external hdd connected to my Mac Mini and (as a temporary measure) we are backing this up to Dropbox using a Symbolic Link. This works fine but the main problem is when the connection seems to drop between Mac OSX and the HDD. The

  • Integrate Mac OSX Lion Server with SBS 2008October 11

    Hoping to gain some valuable knowledge. I have an SBS2008 Standard server running Exchange 2007 and all the bells and whistles it comes with. Lately we have been adding a few iOS devices such as iPads and iPhones. Although I have some control over th

  • What to do with these errors when I open a PSD file in my Photoshop CS3 (Windows 7) while PSD is made by Photoshop (Mac OSX)

    What to do with these errors when I open a PSD file in my Photoshop CS3 (Windows 7) while PSD is made by Photoshop (Mac OSX)October 17

    I'm a Web Designer and when I open some PSD files in my Photoshop CS3 (Windows 7) I get these messages pop-up before to open PSD. My fellow designer use Photoshop on Mac OSX. Error 1 Some text layers contain fonts that are missing. These layers will

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.880 s.