Trying to install MAMP on new machine and having problems
Ali A Samii
samii at me.com
Wed Nov 17 23:50:13 PST 2010
Hi:
The attached zip contains copies of my conf files.
Their paths are as follows:
/private/etc/hosts
/opt/local/apache2/conf/httpd.conf
/opt/local/apache2/conf/extra/httpd-vhosts.conf
Path to where I want my document root and all sites defined in the hosts and httpd-vhosts.conf to be located:
/Volumes/External_Storage/www
-------------- next part --------------
A non-text attachment was scrubbed...
Name: confs.zip
Type: application/zip
Size: 7363 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101118/c643af1d/attachment.zip>
-------------- next part --------------
Not sure why it's not working, so any help would be appreciated.
Thanks,
Ali
On 12 Nov, 2010, at 02:02 , Ryan Schmidt wrote:
> On Nov 11, 2010, at 16:39, Ali A Samii wrote:
>
>> I'm trying to install MacPorts MAMP on a new machine and I'm encountering a problem.
>>
>> I want to have the document root be located on an external drive.
>>
>> I have edited httpd.conf, httpd-vhosts.conf, and /etc/hosts
>>
>> When I restart apache, I get no errors.
>> When I go to http://localhost/ I get the standard "It Works" message.
>>
>> When I point my browser to a local site that I have defined in hosts and httpd-vhosts.conf, it works.
>>
>> However, when I try to access http://localhost/phpinfo.php or http://localhost/phpmyadmin I get 404 Errors.
>>
>> I defined a Virtual Host for phpmyadxmin using the same syntax so I could just type pma and the browser would point to phpmyadmin, and instead of a 404 error, I get the "It Work's" message.
>>
>> I'm baffled.
>>
>> Can someone help me? If you need me to send you my httpd.conf, httpd-vhosts.conf, and /etc/hosts please let me know.
>
> Yes, you should send your conf files and also tell us where the files are actually located on your hard drive.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2659 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101118/c643af1d/attachment.bin>
More information about the macports-users
mailing list