Home / Web Hosting (page 16)

Web Hosting

Adding "last modified" code to your PHP website

Question: How can I use PHP to display the “last modified” date on my website’s main page? Answer: For any type of website that includes factual information, it is important to tell users when the information was added to the site. Information that was relevant five years ago might not …

Read More »

Logging user agent data in Apache

Question: How do I tell Apache to log user agent information? Answer: Normally, Apache logs information about site visitors to /var/logs/httpd/ and uses files like access_log, error_log, etc. While it does give some information about the users, it does not include user agent information by default. User agent information looks …

Read More »

How to manually install stubborn APT packages

Question: What do I do when I get the following error with apt-get: error processing /var/cache/apt/archives/packagename_0.80.1-1_all.deb : trying to overwrite ‘libsomething.1.0.so, which is also in “libotherpackage”? Answer: These types of errors can be very annoying when trying to upgrade packages on a Linux server with apt-get. Sometimes these can be …

Read More »
Powered by Namesco
© Copyright InternetBlog.Org.Uk 2024, All Rights Reserved