Questions tagged [mamp]

12 questions
3
votes
1 answer

Apache virtual hosts configuration for MAMP results in new sites going to the same folder

I have MAMP installed in my mac. Why is it that every time I create a new site, they all go to the same folder? Here is my /etc/hosts file: 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0…
gerl
  • 141
  • 2
2
votes
1 answer

Getting MAMP Pro Apache to Listen on Multiple TCP Ports

I'm running MAMP Pro (Currently 3.5). I would like to be able to run Apache's standard (non-SSL) TCP on multiple ports (80 and 8080) for testing. It doesn't seem to let me do this. Adding a new TCP port to the httpd.conf doesn't do it, so I guess…
2
votes
1 answer

Apache Unable to open logs: /Applications/MAMP/Library/${APACHE_LOG_DIR}/error.log

I am trying to run a project built in Ubuntu with PHP on fat-free framework. I am using MAMP on macOS Yosemite 10.10.1. I imported a database successfully through phpmyadmin & following these instructions. My httpd-vhosts.conf file looks like…
2
votes
1 answer

Redirect to one of multiple sites on the server

I hope this is the right place to post this issue, serverfault seemed wrong to me... Say I have a machine running MAMP. This machines IP is managed in a account from dyn.com to a specific domain, say myadress.com. In htdocs there is currently only…
2
votes
1 answer

Handling request after installing MAMP (no DNS setup yet)

I've just installed MAMP on my mac machine and checked the server is working by looking at localhost. I looked up my IP address by ifconfig. When I use another machine, I still can't get connected to the server. Why is that? I haven't register a…
clwen
  • 123
  • 4
1
vote
1 answer

htaccess redirect for directory listing to virtual host on a local MAMP stack

For my local dev environment, I have just upgraded from MAMP to MAMP Pro so that I can easily create virtual hosts without getting too involved with configuration files. Server names will be formatted as: foldername.localhost For my site's directory…
MrPaulDriver
  • 153
  • 4
1
vote
1 answer

Internet Explorer receives 403 Error when viewing dev environment SSL test certificate (using MAMP)

I've been developing a site with MAMP which has a handy way of generating (obviously) unverified SSL certificates for testing purposes. All was well when testing with Chrome, Firefox, Safari you simply have to acknowledge the suspicious certificate…
Mark Fox
  • 131
  • 1
  • 6
1
vote
1 answer

MAMP not working as 'localhost' but works with "127.0.0.1"

I just installed MAMP on Mac OSX 10.8.2. When it is started, I'm not able to access the server through http://localhost:8888 but when I visit http://127.0.0.1:8888/ and it works fine. Why is it so? and how can I make it work with when I type…
ptamzz
  • 431
  • 1
  • 5
  • 12
1
vote
2 answers

Removing .html Extension On URL Inside Of An MAMP Server

Below is the code that I'm using on a .htaccess page in order to get rid of the ".html" at the end of the URL. It works fine on all pages except for one. Would any of the code on that one page be interfering with this code? If anyone has any advice…
Richard
  • 19
  • 1
1
vote
0 answers

Apache uses a lot of CPU when image file is missing

I'm running MAMP on OSx as a development machine, and I noticed the past few days that httpd processes sometimes would use a lot of CPU, making the fans run high. The only thing that helps is killing all httpd processes by stopping Apache all…
Magnus
  • 283
  • 3
  • 13
0
votes
0 answers

Setting Up SSL On A MAMP Server (Mac)

I'm currently trying to set up SSL (create a secure website) using MAMP 6.6 on a Mac that's running Monterey 12.4. I have been able to create all of the necessary files (including the server root certificate), but seem to be having trouble when…
Richard
  • 19
  • 1
0
votes
0 answers

.htaccess File Causing Page Not To Load Properly

I'm using a .htaccess file to get rid of the ".html" at the end of each URL on my website. This file works well at getting rid of the extension on all my pages except for one which displays an "Index of /" error message. If anyone has any advice on…
Richard
  • 19
  • 1