Can't get sites working under Leopard (apache2)
Home / Hosting Security and Technolog /
I think I've ballsed things up ... I dived right in and think I've caused myself problems and need a little help now!
Under Apache 1, the only things I needed to tweak to serve sites locally with dev domains (e.g. dev.mydomain.com) was that httpd.conf file and the hosts file.
I heard that the locations were different in Leopard, and so I copied the files from the old install across to the new locations. Then I read another tutorial (this one: http://mymacinations.com/2007/10/28/...ql-on-leopard/) and it referred to lines in the httpd.conf file that needed uncommenting. Well, these lines were not there to uncomment, as it were ... because I'd basically overwritten them all with my old Apache config files! So I basically added these lines in.
Bottom line is this - web server is not serving up pages as it should. I'm getting this error in Firefox:
- Failed to Connect
- Firefox can't establish a connection to the server at 10.0.1.4.
- Though the site seems valid, the browser was unable to establish a connection.
I think I either need to start again afresh, using a clean httpd.conf file that comes with Leopard, but can't get back to that.
Alternatively, would anyone be willing to take a look through the adapted apache 1 httpd.conf file that I dropped in place over the apache 2 one to highlight what I need to change? I'm sure the hosts file is OK, and I *think* the httpd-vhosts.conf file is OK, but maybe that could do with a once-over just to be sure!
Can anyone help?
Feb 07, 2011

- I am trying to redirect the following page view_products.php?group=chips to /products/chips/ I would also like this to give a 301 header. I have been trying with redirectMatch 301 but haven�t had any luck. Any ideas?…
- I have installed apache2, PHP5, and MySql on my local machine. Running Windows XP. All seems to have gone as advertised except that I can't access any file with the .php extension. .html is fine and dandy so I think that I must have missed something in the apache configuration…
- I have been following Kevin Yank's PHP/apache installation video, I have added the following line to the httpd.conf file underneath the rest of the LoadModule entries: Quote…
- I have a very strange problem. My server crashes by Apache. Even ssh is unreachable when those crashes are done. Here is my configuration : Debian stable Apache/2.0.55 mod_ssl/2.0.55 OpenSSL/0.9.7g PHP/4.4.1 The error log has these lines : Quote…
- Hi folks, I've got all three running on a Win 98 machine but I can't it to parse any php. It acts like PHP isn't on the machine. On another machine I have it all working because I used the bundle from firepages but I wanted to also get it…
- I already have php5 installed with apache and runninng, is there a way to run them simaltaniuosly? im not sure what id do with the php4 files or where they go so i dont overwrite the php5…
- Lo folks. I'm trying to install Apache, PHP and MySQL on a Windows XP Service Pack 1 machine. Apache has installed ok (ie, when I go to 127.0.0.1 an index page comes up). When I try to run a PHP script it doesn't work, eg for this code: PHP Code…
- I recently noticed that the apache processes on my redhat box are not closing...ever. I checked through httpd.conf, but didn't see any setting that seemed to affect the duration of a process. Does anyone have any ideas as to how I can go about trouble shooting this?…
- Hi guys, I'm back with more weird character encoding problems. I was ask to help fix our backend system with encoding issues. At the end of the day I was losing luck, so I ask our senior guy to meddle in. In the end he was able to fix the…
- Hi, I am having a few problems with my rewritecond below: Code…
- [Sun Feb 11 18:04:25 2007] [notice] SIGUSR1 received. Doing graceful restart [Sun Feb 11 18:04:25 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Sun Feb 11 18:04:25 2007] [warn] NameVirtualHost XX.XX.XXX.X:80 has no VirtualHosts [Sun Feb 11 18:04:25 2007] [notice] Apache/1.3.37 (Unix)…
- Hey folks, I'm not sure if anyone has done this before but I'm having a bit of a headache with one of our servers. We used to have 2 boxes, a dedicated server and a VPS server. The former hosts an Oracle Apache web server and the latter used to…
- I just installed apache, and did put the --enable-rewrite in the install string. But it won't work. If I go index.php/something, it just thinks that index.php is a folder and that something is a file, and this should not happen, because it should pass on everything after the extension to…
- Hi. Need help before I smash my computer to bits! I'm trying to access http://localhost/ on my XP machine. I've installed WAMP and all services are running however localhost bring up nothing except an error page. (Also tried with a clean Apache install and the same happens) At first I…
- In order to use two domains in my apache server, What should I do? For example, I have two domains like the following. Quote…
- Has anyone been successful in configuring the new PHP 5 and Apache 2.048 in the WINXP OS. If you have I would greatly appreciate your help. Thank you…
- Hi all. I'm a newbie at this site and used the installation instructions to set up mysql and php on my win98 pc. (i need them to develop dynamic sites using macromedia mx) I cannot for the life of me get .php files to show in my localhost browser. Whenever…
- 'm new to Linux and have just set up a dualboot system on a new pc, winxp and ubuntu 9.10.. I need to use some of my win specific software such as dreamweaver to create php and html pages so set up a third partition as ntfs where I could…
- Hi Guys not getting much response to this in the PHP Forums so thought here might be a better spot. Im trying to get quickforms going which is used via PEAR. I have set up how i thought im supposed to but am still getting following error coming up. Warning…
- Hi, Will the RewriteCond directive with the [OR] flag go to the next RewriteCond in the list even if the next RewriteCond is not directly below first? Example (RewriteCond below are for example purposes only and not totally correct): RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* [OR] ... ... ... ... RewriteCond %{HTTP_USER_AGENT} ^IE.*…
- Hi. I've managed to set up apache 1.3, php mysql on a USB dongle that I want to use for demo purposes. It works fine if I add the drive letter to DocumentRoot, naturally I don't want that since it probably will be different on all machines I plug it…
- I need a virtual subdomain script using htaccess.. Im new to using htaccess (never used its wonders up until now) and I need something along these lines: Say the person's profile is at http://domain.co.uk/profiles/name/ I want to make a virtual subdomain that would be: http://name.domain.co.uk which forwards to http://domain.co.uk/profiles/name/ can…
- I have apache 2 installed on my local pc. Does anyone know if it is possible to configure it so that apache does not serve pages to other users on the same local network? One way to do this might be via the local firewall, but I was wondering if…
- I have setup home.bigt.ca to point to my home server (since just bigt.ca doesn't work www.bigt.ca points to a co-lo server). If I setup a Vhost for it (at present) it doesn't resolve, while if I have no vhost setup it goes to the first vhost setup. I have stripped…
- We have been having bad weather here in New england and my system was just shut down by a power failure. After power was back and I reboot my PC the Apache2.2 Service fails to start. In looking at the event log I see the following error msg.. The Apache2.2…
- My domain pulls up just fine without WWW (ie. domain.com) but when users inputs www.domain.com the I get a Server Not Found error. I tried doing a force rewrite with .htaccess and: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.##domain##.com$ [NC] RewriteRule ^.*$ http://##domain##.com%{REQUEST_URI} [R=301,L] but it doesn't solve the problem. Any suggestions?…
- Hey guys I have a windows 2000 server with apache installed on it. Is it possible to host asp.net with apache? And if so, how do I set it up? I am a first time apache user. Thanks for any help…
- I have a problem with PDF displaying proberly on my company's web site. This problem has been ongoing for years, but only today my boss decided that it was now a top priority to fix. The problem is that sometimes the PDF doesn't show up in the browser, sometimes the…
- Hi I was wondering if you could share any authority sites for mod_rewrite examples. I usually get my info by sifting through the forums, searching, etc.. but I have yet to come across a site that just has a nice big list of examples. Thanks…
- hi, all. I'm trying to accomplish a redirect (or rewrite) of http://subdomain.domain.com to http://domain.com/temp/subdomain , basically I'd just like people to see subdomain.domain.com/whatever.html, but whatever.html is in /temp/subdomain * I got DNS *.domain.com correctly pointing to my server. * I also created a vhost.conf inside /var/www/vhosts/domain.com/conf, and Plesk (/var/www/vhosts/domain.com/conf/httpd.include) is…
|