Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default Login Page Image Location?

    Where do I find the login page images? I just want to change the original image to my logo. I have looked in whm/themes and whm/cpanel but cannot find the image location anywhere. I've also looked through this forum for the answer but haven't found anything related to the image path except for usr/local/cpanel which I don't have. I have usr/local/apache/http/ and that is it when I use ftp or ssh secure shell v3.2.9.

  2. #2
    Member
    Join Date
    Mar 2010
    Posts
    5

    Default

    I have a simple web application with a login page. I am now adding authentication to code that already checks username and password in a database; I use Forms Authentication to write a cookie with an authentication ticket (if that's the right term) to enable a user to access pages other than Login.

  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default

    Sorry I don't understand what you just said. All I want to do is change the login image in photoshop and reload it but I cannot find the image anywhere in my directories.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by nootkan View Post
    Sorry I don't understand what you just said. All I want to do is change the login image in photoshop and reload it but I cannot find the image anywhere in my directories.
    I recommend using WHM at the following menu path to (1) clone an existing theme, (2) download the cloned theme files, and then (3) upload the newly-edited login theme: WHM: Main >> Themes >> Universal Theme Manager >> Login [Manage Themes]

  5. #5
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default

    Awesome, your the man!!! Can't wait to make the changes and upload the files to Whm. Thanks again. Much appreciated.

  6. #6
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default

    I have cloned the login theme and made the changes to the image files. Then I tried to upload to WHM but get the following error message:
    Checking Theme integrity......Sorry.. thats not a Login theme tarball (header.html is missing)!
    Yet when I open the zip file the header.html file is there. I also tried uploading as a .tar.gz file and get the same thing. What am I missing?

  7. #7
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by nootkan View Post
    I have cloned the login theme and made the changes to the image files. Then I tried to upload to WHM but get the following error message: Yet when I open the zip file the header.html file is there. I also tried uploading as a .tar.gz file and get the same thing. What am I missing?
    I would ensure to use a gzip-compressed tar archive, and check that the directory structure is retained the same as how it was packaged when downloaded via the Universal Theme Manager in WHM.

    Example file name: login.themename.tar.gz
    Example contents should include a directory of the same name as the theme (e.g., such as "themename" as seen in the example file name); within this directory there should be the full contents of the theme, including all other files and applicable directories (such as "images" sub-directory) that were included when it was downloaded albeit with the desired modifications applied.

    If there is persistent difficulty, please try testing the following:
    1.) Download a newly-cloned theme.
    2.) Without modifying the cloned theme, re-upload the same archive to check the result; it should complete successfully.

    Please also let us know the full cPanel version and build number, for reference purposes.

  8. #8
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default

    Okay I changed the file name to .tar instead of .tar.gz and the upload worked. Now how do I make it the default login theme in WHM? I don't see any button to make it the default. I found a place to change it under Server Configuration/Tweek Settings but that didn't seem to work when I changed it and saved the changes.
    cPanel 11.25.0-R43473 - WHM 11.25.0 - X 3.9
    CENTOS 5.4 x86_64 standard on server2
    Last edited by nootkan; 03-31-2010 at 07:17 PM.

  9. #9
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by nootkan View Post
    Okay I changed the file name to .tar instead of .tar.gz and the upload worked. Now how do I make it the default login theme in WHM? I don't see any button to make it the default. I found a place to change it under Server Configuration/Tweek Settings but that didn't seem to work when I changed it and saved the changes.
    I'm unable to reproduce any difficulty when setting a different login theme. It is correct, however, to set it via the Tweak Settings page in WHM, as seen at the following menu path:
    WHM: Main >> Server Configuration >> Tweak Settings >> Display
    • The login theme to display for cPanel Login. See the Universal Theme Manager for options. If you are posting to /login/ you can include "login_theme" as a uri/form variable to overwrite this setting on a per case basis.

    Here is an example showing how to directly link to a specific login theme for cPanel or Webmail access and specifically defining the stock-default login theme named "cpanel":
    Code:
    http://server:2082/?login_theme=cpanel
    https://server:2083/?login_theme=cpanel
    http://server:2095/?login_theme=cpanel
    https://server:2096/?login_theme=cpanel

  10. #10
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default

    This is the url I was told to use when I set up my dedicated server.
    When I go to the url or a client goes to the url they get the right theme but the login window looks like something provided by windows, firefox, opera etc. Which is fine with me however when I log out I get the default cpanel theme logout page which I'm trying to change to my own website theme. I even tried deleting the cpanel theme altogether and still get the same results. I'll keep trying different things to see if I can get what I want, I was just hoping that someone else maybe having the same difficulties as I am and could make it a little easier for me. Thanks for all your help.

  11. #11
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by nootkan View Post
    This is the url I was told to use when I set up my dedicated server.

    When I go to the url or a client goes to the url they get the right theme but the login window looks like something provided by windows, firefox, opera etc. Which is fine with me however when I log out I get the default cpanel theme logout page which I'm trying to change to my own website theme. I even tried deleting the cpanel theme altogether and still get the same results. I'll keep trying different things to see if I can get what I want, I was just hoping that someone else maybe having the same difficulties as I am and could make it a little easier for me. Thanks for all your help.
    The login and logout screens are controlled by the login theme, and are completely independent of the cPanel theme ("x3") -- not to be confused with the login theme ("Cpanel"). Now, it sounds like you're using HTTP Authentication rather than Cookie Authentication, thus your login theme will never be used for logins. To use your own login theme, first disable HTTP Authentication, a recommended practice as of 11.25 described in our recommended security settings:

    http://docs.cpanel.net/twiki/pub/All...d_settings.pdf (PDF)

    The URLs that Don gave will help you test your theme. But to apply it permanently to all users, go into Tweak Settings and near the top, change the login theme to the name of your login theme. The login theme "cpanel" is what we supply.

  12. #12
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default

    Well I just downloaded my custom theme again from WHM and it seems I never did upload my custom theme as all the images are the default cpanel ones. I must have uploaded the original clone instead of my changed one.

    My problem seems to be with compressing the files incorrectly or something. I have created all my own images keeping them all the same dimensions as the originals and tried quick zip, 7 zip and something called JZip. All compressed my files into a .tar.gz format but everytime I try to upload using the login theme manager in Whm I get the error message:

    Checking Theme integrity......Sorry.. thats not a Login theme tarball (header.html is missing)!
    All of these free software programs I've tried claim they can compress files into .tar, and .tar.gz so now I'm baffled. Can anyone reccomend another free program to try or can I use putty somehow to do this?

    When I try to upload the original cloned files in .tar.gz format that I downloaded from WHM everything works fine.

    I'll look through your security settings in the url provided, but all my security settings were set up for me by the company (as far as I know anyway) that I had install my firewall and antivirus/mailscanner software. I trusted their judgement in setting the security parameters.
    Last edited by nootkan; 04-02-2010 at 07:21 PM.

  13. #13
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by nootkan View Post
    Well I just downloaded my custom theme again from WHM and it seems I never did upload my custom theme as all the images are the default cpanel ones. I must have uploaded the original clone instead of my changed one.

    My problem seems to be with compressing the files incorrectly or something. I have created all my own images keeping them all the same dimensions as the originals and tried quick zip, 7 zip and something called JZip. All compressed my files into a .tar.gz format but everytime I try to upload using the login theme manager in Whm I get the error message:

    All of these free software programs I've tried claim they can compress files into .tar, and .tar.gz so now I'm baffled. Can anyone reccomend another free program to try or can I use putty somehow to do this?

    When I try to upload the original cloned files in .tar.gz format that I downloaded from WHM everything works fine.

    I'll look through your security settings in the url provided, but all my security settings were set up for me by the company (as far as I know anyway) that I had install my firewall and antivirus/mailscanner software. I trusted their judgement in setting the security parameters.
    If possible, please attach a copy of the modified theme (as a gzip-compressed tar archive); I would like to compare your customized version with an unmodified cloned copy of the stock-default theme to check if there might be something specific causing the difficulty.

    Regarding compression utilities, when using a Windows-based workstation I've used 7-zip in the past and preferred this over other software as 7-zip is free and open source; I would believe 7-zip should be sufficient in handling gzip-compressed tar archives.

    Using PuTTY one can connect to the server via SSH, change to the appropriate directory containing the custom files involved (perhaps after having been uploaded somewhere via SFTP or FTP), and then compress the data via command-line (CLI) access to the "tar" utility; the following example command will accomplish the task of archive creation and data compression, (while ensuring to substitute the actual custom theme name where applicable); this command assumes your theme files are stored within a directory named "themename":
    Code:
    # tar -czvf login.themename.tar.gz themename/

  14. #14
    Member
    Join Date
    Oct 2006
    Posts
    55

    Default

    It won't let me upload a .tar.gz file. I could send it to you via email if you'd prefer.

  15. #15
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by nootkan View Post
    It won't let me upload a .tar.gz file. I could send it to you via email if you'd prefer.
    To ensure integrity of the archive, is there a URL where I may download it from? You may send me a PM with the link or include it in a thread reply here, whichever is preferred.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 02-11-2011, 10:14 AM
  2. cPanel login location
    By Farting Santa in forum New User Questions
    Replies: 1
    Last Post: 02-15-2010, 04:14 AM
  3. Page not even loading login page Plz help!
    By hasher22 in forum New User Questions
    Replies: 3
    Last Post: 09-16-2008, 04:13 PM
  4. cpanel green server page, location?
    By devGOD in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-05-2007, 10:27 PM
  5. how to change root login user to other for Cpanel WHM login page?
    By onnetsupport in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-07-2006, 09:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube