virtualhost - MAMP 500 Internal Server Error -


i got little problem.

i made 2 virtual hosts "web-backend.local" , "oplossingen.web-backend.local".

but have "500 internal server error"

what doing wrong?

hosts file:

## # host database # # localhost used configure loopback interface # when system booting.  not change entry. ## 127.0.0.1   localhost 255.255.255.255 broadcasthost ::1             localhost fe80::1%lo0     localhost  # mamp virtualhost mappings 127.0.0.1 web-backend.local 127.0.0.1 oplossingen.web-backend.local 

httpd-vhosts.conf:

# # virtual hosts # # if want maintain multiple domains/hostnames on # machine can setup virtualhost containers them. configurations # use name-based virtual hosts server doesn't need worry # ip addresses. indicated asterisks in directives below. # # please see documentation @ # <url:http://httpd.apache.org/docs/2.2/vhosts/> # further details before try setup virtual hosts. # # may use command line option '-s' verify virtual host # configuration.  # # use name-based virtual hosting. # #namevirtualhost *:80  # # virtualhost example: # apache directive may go virtualhost container. # first virtualhost section used requests not # match servername or serveralias in <virtualhost> block. #  <virtualhost web-backend.local:* > documentroot "/users/yawuarsernadelgado/documents/web-backend/cursus" servername web-backend.local <directory "/users/yawuarsernadelgado/documents/web-backend/cursus">     allowoverride     require granted     options +indexes     indexoptions namewidth=* </directory> serveralias web-backend.local </virtualhost>  <virtualhost oplossingen.web-backend.local:* > documentroot "/users/yawuarsernadelgado/documents/web-backend/oplossingen" servername oplossingen.web-backend.local <directory "/users/yawuarsernadelgado/documents/web-backend/oplossingen">     allow     require granted     options +indexes     indexoptions namewidth=* </directory> </virtualhost> 

try looking in apache log , php log.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -