+ Post New Thread
Results 1 to 8 of 8
*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 ...
  1. #1
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    40

    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!

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    check the subnet on the sever/clients matches

  3. #3


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,698
    Thank Post
    352
    Thanked 803 Times in 718 Posts
    Rep Power
    348
    Subnet mask on the linux box itself?

  4. #4
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    40
    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.

  5. #5


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,698
    Thank Post
    352
    Thanked 803 Times in 718 Posts
    Rep Power
    348
    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.

  6. #6
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    40
    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?

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,819
    Thank Post
    110
    Thanked 588 Times in 509 Posts
    Blog Entries
    1
    Rep Power
    226
    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

  8. #8
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    40
    It seems that it's not that simple in Ubuntu. Grr!

SHARE:
+ Post New Thread

Similar Threads

  1. Apache rewrite
    By Michael_84 in forum Web Development
    Replies: 0
    Last Post: 1st December 2008, 12:57 PM
  2. Apache 2.2 configuration
    By saundersmatt in forum Web Development
    Replies: 3
    Last Post: 12th July 2008, 09:17 AM
  3. Apache realms...again
    By HodgeHi in forum Mac
    Replies: 1
    Last Post: 28th January 2008, 04:16 PM
  4. Apache Permissions
    By CyberNerd in forum *nix
    Replies: 7
    Last Post: 28th April 2006, 01:20 PM
  5. Apache Question.
    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
  •