Apache Issue - I think
All,
Been struggling to get the browser to work on my Aspire Laptop running Kubuntu 14.04 LTS. There are no errors in the logs, when I restart apache2, but localhost will not enable and any website with "index.*" as the home page will not work, just get errors, however I've managed to get Google to work and therefore been able to trick sites into giving me info. EX: blueletterbible.org errors so can not use it's home page. To trick it and get answers, in Google I enter: blueletterbible.org Rom 8:32 and I will then get the Google list which I can click on to get the information being sought. I put all applicable file on pastebin at: http://pastebin.ca/3727003 I'm at my wits end on this and not much of an Apache hack, so really stumping and frustrating me, so any help appreciated. Thanks! TBNK |
I would love to help and English is also not my native language but sorry I am unable to comprehend much of it.
|
If I understand correctly, the issue is that you cannot directly access blueletterbible.org in your browser, but can access it via a web search. If that is a correct understanding, I cannot duplicate your issue, as I can access blueletterbible.org quite nicely on both FreeBSD and on Slackware --Current with Firefox.
I puzzled as to how your running apache on your local machine could have any bearing whatsoever on your accessing a public website via your browser. I will note I am running httpd on the Slackware machine. Can you clarify specifically why you think the two are related? |
What happens using https://www.blueletterbible.org/ instead of blueletterbible.org in your browser tab?
Rom 8:32 search works there, from here. |
Every Site
All,
No this problem exists for every single site that has an index.* or home.* as it's default home page. I used blueletterbible.org as an example only! Thanks! TBNK |
Quote:
if you really installed apache on a desktop machine, i think you should just uninstall it, update the system, reboot & hope for the best. if the best does not happen, i suggest a reinstall. |
ondoho is right.
Apache2 - remove it from your local system if you aren't hosting sites. Also try a new browser profile and or system user |
Ondoho & Habitual,
No I do web development and in particular framework/oop extensions, which require localhost so that's a must for me. However for your information the problem still exists when I stop apache2 with cmd: service apache2 stopSo guessing the browsing part is a different issue from the apache2 problem. However localhost could be part of the browser issue, why the localhost index.php file is not processing. Cheers! TBNK |
All,
I run 20 machines and this problem is unique to only my Aspire 7739 laptop. All other machines are fine. I have checked the browser and apache2 configs on all the machines, which are all the same as the laptop, as far as I can tell, so that is why I'm stumped here, since I have this anomaly! PS Cannot even get to this forum, via the laptop, so working this from one of my 2 servers. Cheers! TBNK |
If I understand it correctly, you are developing a webapp on that particular laptop and you would like to deploy it on a local Apache which is a fairly standard setup. The problem you seem to be having is you are unable to preview the webapp with index pages such as index.php. (Also, you have secondary issue which is your inablity to browse external sites)
What did you see when you point your browser to http://127.0.0.0 ? What error messages you get? Does it render any material, php text or not? If Apache php module is not enabled, you would not be able to see the sites correctly but it won't stop the browser from rendering contents including plain text. If you see any content that seems to be your webapp, that is already a good sign. If not, you have a bit of troubleshooting ahead of you. |
Sounds like you don't have a DirectoryIndex set in your site.conf
|
Quote:
Well yes there is no "site.conf" file on any of my machines. You must be talking about another Linux fork. I'm on Kubuntu 14.04 LTS. Cheers! TBNK |
Quote:
I get the message: ************************************************************************ Unable to connect Firefox can't establish a connection to the server at 127.0.0.0. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. ************************************************************************ That is shown just after restarting apache2! Cheers! TBNK |
Quote:
|
Quote:
Code:
sudo apache2ctl -S Use "grep DirectoryIndex" on it. DirectoryIndex controls "home*" and "index*" pages. Does it exist? |
All times are GMT -5. The time now is 01:36 AM. |