Web Hosting Forum | Lunarpages

Author Topic: Gzip Compression  (Read 1412 times)

Offline sher777

  • Trekkie
  • **
  • Posts: 16
Gzip Compression
« on: September 06, 2016, 10:05:18 AM »
Can someone provide resources as to enable compression on website. I am trying to speed up the page load. Is there a way to do this in Lunarpages control panel?  One way I read about was altering the htaccess file, but I can't find that file on this particular website.  Thank you!

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6207
Re: Gzip Compression
« Reply #1 on: September 06, 2016, 10:49:19 AM »
I don't know if your control panel (LPCP or cPanel) has anything, but you can try code in the .htaccess file. That file exists on all Apache servers (and maybe Windows), but may by default be hidden in the file manager (because it starts with a period). There is a setting in the control panel to make such files visible.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline sher777

  • Trekkie
  • **
  • Posts: 16
Re: Gzip Compression
« Reply #2 on: September 06, 2016, 11:00:39 AM »
Thank you!  that could be it because I can see the .htaccess in my other website accounts. I remember a long time ago there was a setting to show hidden files, but I can't seem to find it now. This control panel is "LunarPanel". Thank you for helping.  I just have to find that setting!
it is Apache Version    2.2.3
« Last Edit: September 06, 2016, 11:03:56 AM by sher777 »

Offline sher777

  • Trekkie
  • **
  • Posts: 16
Re: Gzip Compression
« Reply #3 on: September 06, 2016, 02:13:00 PM »
still can't get file manager to show hidden files like my other websites.  also, found "web optima".  searched the forums but nothing.  anyone use it?  I just tried it.  didn't help my speed test at all unless it takes a while.

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6207
Re: Gzip Compression
« Reply #4 on: September 07, 2016, 07:37:30 AM »
Are you on a Linux (Apache) or Windows (IIS or Windows Server) machine? If the webserver itself is Apache, there must be an .htaccess somewhere around (Windows servers might not have one). In cPanel > File Manager, on the first pop-up asking you where to start, there is a checkbox to show hidden files (dotfiles). I assume that there is something similar for LPCP.

There's also an option on the same pop-up to not show the pop-up again. Maybe you checked it at some point, if you're not seeing that choice. I assume that somewhere is an option to turn it on again.
« Last Edit: September 07, 2016, 07:42:53 AM by MrPhil »
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline sher777

  • Trekkie
  • **
  • Posts: 16
Re: Gzip Compression
« Reply #5 on: September 08, 2016, 01:43:30 PM »
thank you MrPhil.  this website is Apache Version 2.2.3.  Some of my other clients have cpanel and it has always worked just as you said, but this client has lunarpanel and has no option and there is no .htaccess file in file manager and no options after I am in file manager.  I just submitted a ticket.

still looking into this "Weboptima".  that would be great if it doesn't screw up.  once you are in control panel (in this case lunarpanel", it is under "Advanced" at the top right.  I just checked and I don't see in my account that has CPanel.
« Last Edit: September 08, 2016, 01:50:12 PM by sher777 »

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6207
Re: Gzip Compression
« Reply #6 on: September 08, 2016, 02:05:19 PM »
The only control panels I've heard of on LP's Linux/Apache shared servers are cPanel (the older ones) and LPCP (Lunarpages Control Panel). Is there yet a third control panel out there? I've only used cPanel myself, so I can't give any real guidance on LPCP or other control panels. That said, if this an Apache server (not various Windows servers), there has to be an .htaccess file, and there has to be a setting somewhere to make it visible.

I don't remember if my cPanel File Manager hid "dot" files by default -- it may have, but it's so long ago that I don't remember (I have trouble remembering what I had for breakfast this morning!). Frankly, that's a really stupid thing for a control panel to do -- there's no reason that would be a useful thing to do, so there should be no way of hiding "dot" files. .htaccess needs to be modified frequently, so why not always show "dot" files? Just because the old Unix systems hid them by default on the "ls" command is no reason to do it here.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline sher777

  • Trekkie
  • **
  • Posts: 16
Re: Gzip Compression
« Reply #7 on: September 08, 2016, 02:12:35 PM »
thank you for your help and I agree with you, they should not be hidden.  I'll see what reply I get from the helpdesk.  It says lunarpanel, but I believe it is the same thing - LPCP.

I am very interested in this weboptima because I am a novice at this.  apparently only available in LPCP although I like cpanel better.  I am surprised that I can't find anything in this forum about it.  Maybe I will start a new thread just asking about the weboptima.

I will reply to this thread when I get an answer about accessing hidden files in LPCP if anyone else has the same issue.
Thank you!

Offline sher777

  • Trekkie
  • **
  • Posts: 16
Re: Gzip Compression
« Reply #8 on: September 08, 2016, 02:16:02 PM »
Just got the answer from the helpdesk.   :yep:

"Please note there is no option for "hidden files" in LPCP. By default all files are shown in LPCP. If you have .htaccess file then it will show. It is possible .htaccess file is not there as yet and you will need to create one."

 

Share |