Has anyone successfully altered MAMP's cgi-bin (or docroot) directories in the conf.httpd? -


I am working in MMP and I need to make a nickname in my project discreet so that I do not move my code My IDE is out of the project and in the MAMP folder.

I have configured conf.httpd as specified, but it is happening from 404 and 403.

There are no settings in the MMP Gui settings that will point it to CGI-bin and it is only ignoring my httpd entries or I am declaring them wrongfully (I Not an httpd expert).

My CG entry looks like this:

  ScriptAlias ​​/ cgi-bin / "/ full / path / to / cgi / folder"  < / Pre> 

In this situation / full My drive route (not the webserver root) though I have tried both and neither works.

Has anyone done this? I would love to know.

I got a courtesy of a Japanese website, it is definitely lucky I read Japanese Yes, You need to change httpd.conf through menu entry file> Edit template> Apache> httpd.conf. The solution is not to move the existing CGI-bin folder, but to add another CGI-bin folder with another directory command. It goes into a piece of code and references, it works in MMP Pro 2.05

  # "/ application / mmp / cgi-bin" should be changed to your script aliased # cgi directory Exists, if you have configured # & lt; Directory "/ application / mamp / cgi-bin" & gt; Allow override No option, do not allow any command, Allow all from & lt; / Directory & gt; # Add the following lines # This example sets the CGI-BI folder to the folder # in the user's home directory. Documents / MAMCPite & lt; Directory "/ Users / My Usmen / Documents / MAMPPite" & gt; Option ExecCGI AddHandler cgi-script. CGI .pl & lt; / Directory & gt;  

Comments