curl command not working on apache2 virtual host

Aftemerassamn

New Member
i created a virtual host where i would manage a separate project on the same machine.the problem is that when i attempt to make a curl request from the php code in the virtual host, i dont get any response.How can i set the Curl library to work on the virtual hostUpdate:i ran the command on the command line : curl new_Server.com/ --trace /home/nauman/Desktop/abc.txtand it gave me the HTML response of index.php file. and the trace is copied to the abc.txt file
 
Back
Top