Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Where would this path be actually located on the cPanel server?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Where would this path be actually located on the cPanel server?

shovenoseshovenose Member, Host Rep
edited January 2013 in General

Comments

  • KuJoeKuJoe Member, Host Rep

    /home/shovenet/public_html/server42/uptime/ ?

  • In /home/shovtcom/public_html/server42/uptime if all default settings were used

  • jhjh Member
    edited January 2013

    grep "server42.shovenet.com" /etc/httpd/conf/httpd.conf

  • DamianDamian Member
    edited January 2013
    This is probably not the site you are looking for!
    You attempted to reach server42.shovenet.com, but instead you actually reached a server identifying itself as keylimehosting.com. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of server42.shovenet.com.
    

    ...which redirects to...

    This is probably not the site you are looking for!
    You attempted to reach keylimehosting.com, but instead you actually reached a server identifying itself as unmanagedservers.net. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of keylimehosting.com.
  • @jhadley said: grep "server42.shovenet.com" /etc/httpd/conf/httpd.conf

    never gonna work on a cPanel box, the config is /usr/local/apache/conf/httpd.conf

  • jhjh Member

    @miTgiB said: never gonna work on a cPanel box, the config is /usr/local/apache/conf/httpd.conf

    image

    root@shared [~]# ls /etc/httpd/conf/httpd.conf
    /etc/httpd/conf/httpd.conf
  • @jhadley I see either does work

    # ls -lah /etc/httpd
    lrwxrwxrwx 1 root root 17 Dec  7  2011 /etc/httpd -> /usr/local/apache/
    
  • shovenoseshovenose Member, Host Rep

    Thanks for the answers, and yes, Zen is correct shovenet.com is NOT even hosted on that server. it is the hostname of it.
    http://server42.shovenet.com/uptime.php
    Still get a 404, not sure why?

  • shovenoseshovenose Member, Host Rep

    hmm?

  • shovenoseshovenose Member, Host Rep

    Thanks,
    But I understand that.
    My "hmm" was as in "what does that have to do with my uptime.php?

  • shovenoseshovenose Member, Host Rep

    Aha!
    One last issue...
    http://server42.shovenet.com/uptime.php
    now has a 500 server error. But nothing is wrong with uptime.php it works fine on other servers.

  • edited January 2013

    Or change the ownership of uptime.php to nobody:nobody

  • @shovenose said: now has a 500 server error.

    And what is in /usr/local/cpanel/logs/error_log ?

  • shovenoseshovenose Member, Host Rep

    Awesome, it worked.
    Thank you again to everybody that helped!

Sign In or Register to comment.