tags:

views:

17

answers:

1

I'm working in MAMP and need to create an alias to my project dicectory so that I don't have to move my code out of my IDE project and into the MAMP folder.

I've configured the conf.httpd as specified but am getting 404s and 403s.

There don't appear to be any settings in the MAMP gui settings that would alter where it points cgi-bin to and it's either simply ignoring my httpd entries or I'm declaring them incorrectly (I'm not an httpd expert).

My cgi entry looks like this:

ScriptAlias /cgi-bin/ "/full/path/to/cgi/folder"

in this case /full is my drive root (not the webserver root) though I've tried both and neither works.

Has anyone done this? I'd love to know.

A: 

ok... this was painful (and idiotic).

the httpd file that's in the MAMP/conf/apache/ directory is apparently not used for anything (if it is, I can't figure out what.

You have to go into the MAMP app and select file->edit template->apache THERE you will see the actual httpd file that MAMP uses to start up and there you can set ScriptAlias as well as whatever else you want.

And it works.

Dr.Dredel