*nix Thread, Apache question in Technical; My colleague has been pulling his fine ginger locks out all morning over this one, and I don't have a ...
-
13th May 2009, 11:09 AM #1 Apache question
My colleague has been pulling his fine ginger locks out all morning over this one, and I don't have a clue what's going on so maybe some of you can help.
He's got a web based helpdesk system set up using a virtual machine on one of our servers, it uses Apache, mysql I expect... the usual stuff. Anyway, the point is that on our local network we can access it from some machines and not others. The server is on 10.12.56.43, and any machine that has an ip beginning 10.12 can access it. We do, however, have a few different ip ranges and anything on a 10.14 address cannot access it. Haven't tried it with 10.13 yet!
What I don't understand is that we have other Linux servers on the 10.12 range and our 10.14 workstations can access them fine. We don't have a problem with any of our windows servers.
So my question is, are we missing a trick? Is there something we need to configure on the server to get this to work or is it something in the dns? Any help would be appreciated!
-
-
IDG Tech News
-
13th May 2009, 11:11 AM #2 check the subnet on the sever/clients matches
-
-
13th May 2009, 11:11 AM #3 Subnet mask on the linux box itself?
-
-
13th May 2009, 11:41 AM #4 Subnets vary around the school. 10.12.56.* use 255.255.252.0 while 10.14.20.* use 255.255.255.0
I'm assuming this is correct... that's how it's always been anyway. I don't exactly understand what dictates what the subnet is, maybe I need to rtfm!
My colleague has made a breakthrough though, he found that if he typed in the full path to the index.php file, including the file name, it all works fine so it sounds like Apache is configured to pull up index.htm or similar. Doesn't explain why it works fine from the other clients.
-
-
13th May 2009, 11:50 AM #5 Ah, you've got an additional EMBC range on top of your initial one, I hadn't seen that sorry.
Sounds like DirectoryIndex in the apache config needs modified to include index.php.
-
-
13th May 2009, 12:48 PM #6 Turns out that's a side issue, it's still not working.
I did an Apache restart and got this message:
"apache2: Could not reliably determine the server's fully qualified domain name, using 10.12.56.43 for ServerName"
Is this a problem?
-
-
13th May 2009, 12:57 PM #7 Well it's not fatal. However to fix it you just need to add the 'ServerName <insertname>' into the servers configuration somewhere. If it's a debian based install this'll be in the default vhost: /etc/apache2/hosts-enabled/default
-
-
13th May 2009, 01:28 PM #8 It seems that it's not that simple in Ubuntu. Grr!
-
SHARE:
Similar Threads
-
By Michael_84 in forum Web Development
Replies: 0
Last Post: 1st December 2008, 01:57 PM
-
By saundersmatt in forum Web Development
Replies: 3
Last Post: 12th July 2008, 09:17 AM
-
Replies: 1
Last Post: 28th January 2008, 05:16 PM
-
By CyberNerd in forum *nix
Replies: 7
Last Post: 28th April 2006, 01:20 PM
-
By in forum Web Development
Replies: 6
Last Post: 27th April 2006, 09:29 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules