0
votes
0answers
28 views

OS X Server Websites interfering with default Apache

I've had the default Mac Apache server running and everything was working fine. But I also needed OS X Server for Xcode unit test automation and DNS services, so I installed it today. Since the ...
0
votes
0answers
162 views

make error during Homebrew Installing Apache 2.4 on Mavericks

Having an issue using Homebrew to install Apache 2.4 on OSX 10.9. The tap I'm using is homebrew/apache (and also homebrew/dupes to provide apr and apr-util). Specifically, during the make install ...
1
vote
1answer
30 views

Why is Apache success page on my laptop?

At a hotel, I was first able to log into their wi-fi. Wi-fi continually disconnected, but would reconnect when I called their IT. Later, I opened my laptop and the page had APACHE SUCCESSFULLY ...
0
votes
0answers
21 views

Apache webdav with builtin OSX Lion Accounts

I'm having problems using Mac OS X Lion (10.7.5) - NOT THE SERVER - and Apache httpd for webdav with authentication. All users on the network should keep their login credentials. There should be a ...
0
votes
0answers
47 views

apache folder structure on mac, what does other folder do

I'm trying to figure out how apache works on my Mac. I followed a tutorial on editing the httpd.conf file to get laravel set up. Now I want to get a specific site we have been working on in ...
0
votes
0answers
1k views

Mac mini + server app + OS X Mavericks “You don't have permission to access / on this server”

I'd like to start server app in my Mac Mini OSX Maverick. Here is what I did: 1. Set up second SSD disk to Mac Mini 2. Move OSX Maverick to SSD disc 3. Download and setup server app to OSX Maverick on ...
0
votes
0answers
110 views

Syntax Error on Apache 2.2.25 update

just upgraded to Apache2.2.25 from 2.2. I can call the version (httpd -v) but when I do apachectl start, I get the following error. httpd: Syntax error on line 63 of /private/etc/apache2/httpd.conf: ...
1
vote
2answers
391 views

Can't create or copy folders in the web root folder of Apache on mac

I am always asked to provide my password whenever I try to create a new folder or copy anything into the root folder of apache which is located at "/Library/WebServer/Documents/". I am just switching ...
1
vote
1answer
702 views

Setting up VirtualHost for MAMP server?

Problem I need to setup some VirtualHost records for a MAMP server I have installed on my Mac. In short, rather than using http://localhost:8888/dkbtherapy/index.html I want to use ...
0
votes
0answers
74 views

How to display assets on localhost

I'm trying to run a site on a MAMP stack, but when I load a page the assets aren't showing up. I inspected the Net tab in Firebug, and my stylesheet tags are pointing to the right CSS files, but the ...
0
votes
0answers
299 views

Setting up port forwarding on router to serve apache on a Mac

I have setup port forwarding on my router to Mac. When I try I enter my IP address the browser just times out and my router just resets. Now when I port forward to my NAS server everything works ...
0
votes
2answers
52 views

Mac apache versions

I have installed Apache both in /etc/apache2 as in /opt/local/apache. How can I tell mac to use the /etc/apache and not the other one?
1
vote
1answer
411 views

http://localhost/~admin/ gets a 403 [duplicate]

Possible Duplicate: 403 Forbidden Error on Mac OS X Localhost When I go to localhost/~admin/ or 127.0.0.1/~admin/ my browser says: "Forbidden You don't have permission to access /~admin/ ...
0
votes
2answers
3k views

mac osx permission error - apache folder chown _www

I deleted Library/WebServer/Documents folder and created it again. When I visited localhost it gave me forbidden error. I ran sudo chown _www:_www Documents And forbidden error was gone, but now I ...
3
votes
1answer
2k views

passwordless sudo apachectl

I'd like to be able to restart apache under OS X Lion without entering a password. I tried placing this in /etc/sudoers: <User> ALL= NOPASSWD: /usr/sbin/apachectl But when I execute apachectl ...
1
vote
1answer
289 views

Strange http requests to my apache

Some time ago I've noticed that my apache gets some strange http requests, I mean the requests addressed to my 80 port. I had an error on my main page and looking to my apache log file I noticed that ...
0
votes
0answers
491 views

XAMPP for Mac : “forbidden access” when trying to set more secure permissions

I've installed XAMPP on my Mac running Lion and I've set the DocumentRoot to Users/myusername/Sites. Apache runs as myusername/_www (user/group, 755) and everything is OK, my browser can access all ...
10
votes
4answers
13k views

How to allow acces to a symbolic link in my ~/Sites/ for Apache under Mac OS X Lion 10.7.2

I need allow access to a sym-linked directory within ~/Sites from my Apache. I Symlinked the directories like this ln -s ~/path/to/the/source/directory/ ~/Sites/source-link-here Now whenever I fire ...
1
vote
3answers
11k views

Apache won't start on Mac OS X Lion/MAMP

I'm having a hard time getting Apache to start running via MAMP. I've been developing with MAMP for the past few months and all has worked fine. This morning, however, Apache has magically stopped ...
0
votes
2answers
141 views

I just installed Apache, MySQL and PHP stack on my Mac but now everytime I alter a file the OS asks me for my system password? How can I stop this?

I just installed Lion on my machine and I'm starting fresh. I thought I'd manually install an AMP stack on my machine. Also, I'm using my ~/Sites folder as my web root. However, now that everytime I ...
1
vote
2answers
1k views

MAMP set up from scratch on Lion OSX

How different is it from Snow Leopard to create a MySQL, Apache, PHP install from scratch (not MAMP) on Mac OSX 10.7 Lion?
2
votes
1answer
173 views

Changing ability to access via “localhost”

I've successfully used PHP/Apache/MySQL on my iMac several times in the past few months/years. However, I started using a new PHP book and moved things around a bit (obviously without knowing what I ...
0
votes
1answer
132 views

Fix group in files/folders on Mac OS X to view in Apache?

I copied a directory from a Windows server into the defined document root of my MacBook's installation of Apache. However, the file permissions are wrong. I've tried setting both the user and group to ...
1
vote
0answers
119 views

Apache doesn't look at httpd.conf on mac

I use apache on my MacBook to test SSL with my rails applications, turned it on today and its not working. I just get "Safari can’t connect to the server." for any https requests and I can't work out ...
-1
votes
2answers
595 views

configure Apache to open .js file with php in very specific folder

I want .js files in some very specific folder to be rendered with PHP by Apache. Where can I set it, and how? In other words: I want apache to deal with files with extension js, as if they are with ...
0
votes
1answer
412 views

How do I host multiple websites on a Mac?

I work on several PHP and JSP websites on my MacBook (running development Apache server and Tomcat) and they all are hosted on shared servers. What I want to do is to clone my MacBook to a Mac mini ...
0
votes
1answer
340 views

Mac OS: Mysql, PHP, Apache not working!

Mysql j:~ julian$ mysql -bash: mysql: command not found Apache/PHP Forbidden to access / on the server.
1
vote
1answer
2k views

Howto manage website and user permissions with apache on Mac os X

I have lots of different websites in a Development directory in my home dir. While developing, files get saved under my username but websites configured under apache it's permission need to be set as ...
0
votes
1answer
1k views

Why is Mac OS X 10.6 using /usr/lib to start Apache when I compiled PHP using /opt/local/lib?

PHP 5.3.3 compiled on Mac OS X 10.6 - using /usr/lib when trying to start Apache... rather than /opt/local/lib specified when PHP was configured. Why is it trying to load from /usr/lib when ...
2
votes
2answers
1k views

Browser displays 'Apache is functioning normally' when I enter 'http://you/' in the location bar

I am on a Mac and when I enter http://you/ in the location bar, it displays 'Apache is functioning normally' no matter which browser (Safari, Firefox, Chrome) I am using. Is this normal? Or could it ...
2
votes
1answer
144 views

Apache (Unix) List Directory - Download

There is a website which is hosted on Apache which Lists a directory of files and folders, i want to download all the files and folders of that site what software is required to do this? i.e. ...
1
vote
4answers
229 views

How to have server turn on only when being accessed?

If I use my mac as a server, is there a way to have it wake up only when someone is trying to access it? I don't want to have it on all the time just in case someone wants to look at the site (it ...
1
vote
3answers
852 views

Localhost website using Apache on Mac OS X

I am trying to set up a webserver on my Mac so that I can access my folder through http://localhost:8085/test.html. How do I set this up?
0
votes
2answers
2k views

How to enable directory listing in Apache on Mac OS X

I want to transfer files from my Macbook to my iPod by enabling web sharing on the MacBook.
1
vote
2answers
5k views

apache2 VirtualHost in Mac OS X home directory

I am running Macports apache2 on Mac OS X 10.5. Whenever I configure a virtual host in the default folder, it works, however when I configure the virtual host in my home directory I get a "403 ...
0
votes
3answers
553 views

Hostname problem

my hostname is newton ...when I set "127.0.0.1 Newton" in /etc/hosts .. parallels stops working.. when I set "127.0.0.1 localhost" in /etc/hosts apache installed via ports stops working.. when I ...
18
votes
1answer
19k views

How to easily create a SSL certificate and configure it in Apache2 in Mac OS X?

I'd like to use my Mac OS X with https for local development tests. How can I easily make Apache2 respond to ssl, just for test proposes - I don't want a real certificate, just a fake to make local ...
1
vote
4answers
2k views

htaccess not working on Mac when copied, but works from a NTFS partition

I run Apache on Mac OS X (XAMPP) for a site that uses .htaccess to have URLs like "domain.com/site/section/etc". The problem is that the URL scheme is not working. It seems that the .htaccess file is ...
1
vote
3answers
3k views

GUI for Apache/PHP on a Mac

Recently installed Snow Leopard on my Mac Mini. Something screwed up my Apache/PHP installation and it's now looking at a different library as localhost. The PHP installation also reset some of my ...
1
vote
3answers
993 views

The same XAMPP config works on Windows, but not on Mac OS X

I've been using Xampp on Windows for some time now. I'm trying to set it up on Mac OS X also, so I copied all the configuration, but I can't get virtual hosts to work. 1- I included this in ...
2
votes
2answers
2k views

Why Is Web Sharing Broken on My Mac?

Background: I use my Mac for web development, running copies of web sites locally. I recently installed the Snow Leopard update, which to all intents and purposes seems to have gone fine, except... ...
2
votes
1answer
1k views

Mac OS X + Apache + Web Sharing

I'm running Mac OS X (Snow Leopard) and I'm trying to use Eclipse PDT and I'd like to use "Web Sharing" built-in feature that basically runs Apache. I'm doing code change in PDT and I want to use ...
1
vote
2answers
3k views

User Sites not working after enabling Web Sharing in System Preferences on Snow Leopard

I'm using Snow Leopard (upgraded from Leopard) and in System Preferences I have enabled "Web Sharing". The preference pane lists the following urls as active: http://192.168.1.67/ ...
4
votes
6answers
6k views

Install multiple PHP environments on OS X Snow Leopard

I just upgraded my MBP to Snow Leopard (OS X 10.6), which took PHP to 5.3 This is great, except I use my MBP as my development machine and I use a lot of PHP libs and frameworks (namely CakePHP 1.2) ...
0
votes
2answers
2k views

Mac OS X bash: uninstall all apache and PHP occurences

How do I find all installed apache and PHP occurences on a Mac OS X system in bash and uninstall them? My motivation: I've managed to install multiple apache and PHP packages (I believe it's called ...