DISQUS

Jangro.com: CPanel EasyApache and Customizing httpd.conf

  • CBR · 2 years ago
    I'm just getting familiar with cpanel so this informtion is usefull - thanks. I've been using plesk for a few years now and I am quite comfortable with the way it does things.
  • Sock Yee · 2 years ago
    I'm really struggling to get my cpanel off the ground. Sometimes I do get really confused on the configuration. Hmmm...I think I'll try the method mentioned by you. Good to find out the info.
  • Cheap Web Hosting Phil · 2 years ago
    That's a very helpful tutorial. On shared hosting there are quite a few crons that are run on the boxes that lie outside users control. Even though you really need a sys admin the greater scope for customization on a dedicated box is a clear advantage.
  • Colin McNulty · 2 years ago
    I've only had to edit my httpd.conf once, well actually it wasn't me, it was for a client. It's not quite at the level you were at, but a nice little edit if the situation arises.

    Basically my client needed to add some php script to his site: I was helping him solve the problem of Google returning his home page in their SERPs with a clickbank hoplink! The problem was, all his site was .html and we didn't want to rename his files to .php and lose the page rank.

    The solution was to add this line to his httpd.conf:

    AddType application/x-httpd-php .html

    So that the server processed his .html files as if they were .php . Nice.
  • David Grega · 10 months ago
    In a cPanel environment, you could also click on "Mime Types" and have the same effect by adding .html to the application/x-httpd-php mime type. This will also curb the need for manual edits to httpd.conf
  • ZYON.COM · 1 year ago
    Excellent post and an awesome blog. Very thorough and technical. Just the way I like it. You've got a phenomenal layout and design. Kudos!

    Kind regards,
    Martin
  • David Grega · 10 months ago
    As of version 11.23, you can add wildcard subdomains via the cPanel interface. Simply go through as if you were creating a regular subdomain. Just enter the * character (an asterisk) for the subdomain field and cPanel will handle the rest automatically. No manual httpd.conf editing is necessary.
  • David Grega · 10 months ago
    This was implemented when we implemented EasyApache 3. You can find the current EasyApache documentation on our website at: http://www.cpanel.net/support/docs/ea/ea3/customd...
  • Scott Jangro · 10 months ago
    Thanks for helping out David. Great info.