mardi 2 décembre 2014

Apache error MAMP virtual host


Trying to run a project built in ubuntu with php on fat-free framework.Now i am using MAMP on macOS Yosemite 10.10.1.


I imported a database succesfully through phpmyadmin & following these instructions http://ift.tt/1yeqtM1 my httpd-vhosts.conf file looks like this:


ServerAdmin webmaster@localhost



DocumentRoot "/var/www/site"

<Directory "/var/www/site">
Options -Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from All
</Directory>


ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug

CustomLog ${APACHE_LOG_DIR}/access.log combined


The project files are located at the "htdocs" web root folder in /Applications/MAMP/htdocs Note that when i am trying to run it on this form the Apache server throws error , it does not run. But when i comment the ErrorLog section the apache server runs properly but all i get is a blank page!


Does anyone come up with this problem before , it is taking me ages to get this running! Any help would be valuable ! Thank you





Aucun commentaire:

Enregistrer un commentaire