| 1. |
Solve : Apache server issues? |
|
Answer» I use an Amazon-ec2 linux computer and I have just installed Apache and opened ports 80 and 443 in the security groups and started the server. but then whenever i go to connect to try to see whether it worked or not I can not connect at all (the server does not respond in time) and I double and triple checked my ports and they are fine so i am wondering if anyone can please help answer what I MIGHT be doing wrong. all the commands i used to install and set it up will be pasted below. Amazon-ec2 linux computer Didnt realize this was on Amazon Cloud, you have very limited access to server then. I'd contact Amazon ( AWS ) tech support directly and have them assist you. You do not need to mess with changing ports or port forwarding in your router. I thought you were running your own server and were an amazon merchant with a store front that was self hosted or something like that branched off of an amazon store front. Did you ever get Apache to work yet without adjusting the httpd.conf file for supporting server side scripting languages and features? I would verify that you can get to the default Apache Home page of the server before enabling the modules for features. Then once you know that the default Apache setup is working you can then EDIT the httpd.conf ( apache config ) to REMOVE the # hashes to enable features and edit parameters that require modification from the default such as SSL enabled etc. Looking back at your initial post I see mySQL and PHP, so you will need to enable those modules by removing the # before them in this config file. I am not sure if mySQL has a module or if there is a passthru of communications directly from PHP to the servers mySQL service, but I remember PHP requiring a # removed to enable that module to support PHP scripts.ok I will try to call them(they might not be able to answer today because of it being thanksgiving), Also I do not know where I might find the config file is it maybe SOMEWHERE in the /var/www directory? http://commanigy.com/blog/2011/6/8/finding-apache-configuration-file-httpd-conf-location |
|