I know that this issue has been considered a lot, but the solutions here do not solve them.
Let's start with some background information:
OS X 10.8.4 Apache 2.2.22
Problem: I get this error in the console, and Apache cannot find my localhost, but it starts fine. Weird
[Sat Aug 17 13:40:06 2013] [info] mod_ssl/2.2.22 compiled against Server: Apache/2.2.22, Library: OpenSSL/0.9.8r httpd: Could not reliably determine the server fully qualified domain name, using Specter.local for ServerName
Thus, usually this indicates that my server_name is not configured correctly. Well this is: / and I tried with various options like Specter.local, localhost, etc.
Here's a copy of my /private/etc/httpd.conf, and this is the same for / private / etc / apache 2 / httpd.conf
My host file is installed as follows:
127.0.0.1 localhost localhost.local 255.255.255.255 broadcasthost 127.0.0.1 themill.dev 127.0.0.1 phpmyadmin.dev 127.0.0.1 Specter.local
In my / private / etc / apache 2 / users / ta.conf the following
# # Use name-based virtual hosting. # NameVirtualHost *:80 # DEV: THEMILL SITE <VirtualHost *:80> ServerAdmin test@dummy.com DocumentRoot "/Users/ta/Sites/themill/htdocs" ServerName themill.dev ServerAlias *.themill.dev ErrorLog "/Users/ta/Sites/themill/log/error_log" CustomLog "/Users/ta/Sites/themill/log/access_log" common </VirtualHost> # PHPMYADMIN <VirtualHost *:80> ServerAdmin test@dummy.com DocumentRoot "/Users/ta/Sites/phpmyadmin" ServerName phpmyadmin.dev ServerAlias *.phpmyadmin.dev ErrorLog "/Users/ta/Sites/phpmyadmin/log/error_log" CustomLog "/Users/ta/Sites/phpmyadmin/log/access_log" common </VirtualHost>
Not sure what else to configure. It used to work, but after update 10.7 it never worked, and now I'm trying to solve this problem, and it makes my head.
Let me know if you need more information.
apache web macos server-configuration
Tobyallen
source share