apache server settings

Asked by:
cagabit / 5 Points
2013-03-01 3:55 pm EST
Website Design

How can I config some settings of apache server ? Like httpd.conf file.

I am trying to set general cache settings of the apache server to impose web browser clients a longer cache time.


To ask this user for more information, please first login.

To submit an answer, please login.



3,713 Points
2013-03-01 4:24 pm EST
Hello cg, and thanks for your question.

Because you're on a shared server you don't have direct access to the Apache httpd.conf file. However most settings that you would put in there, can be instead placed in a .htaccess file.

You can read our guide on how to edit your .htaccess file for steps on how to access and modify this file.

For instance the following code will make a web-browser cache jpg images for a year.

ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"

Please let us know if you had any further questions at all.

- Jacob

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.