Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-expand-tabs-free domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/websitedevait/public_html/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /home/websitedevait/public_html/wp-includes/functions.php:6131) in /home/websitedevait/public_html/wp-includes/feed-rss2.php on line 8
Web Services Apache | Advanced Internet Technologies https://website-dev.ait.tools Empowering Your Digital Future with Cutting-Edge Internet Solutions Mon, 17 Jul 2023 19:44:27 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 https://website-dev.ait.tools/wp-content/uploads/2022/06/aitlogo-1.png Web Services Apache | Advanced Internet Technologies https://website-dev.ait.tools 32 32 How do I modify my directory index or directory listing? https://website-dev.ait.tools/blog/how-do-i-modify-my-directory-index-or-directory-listing/ https://website-dev.ait.tools/blog/how-do-i-modify-my-directory-index-or-directory-listing/#respond Mon, 17 Jul 2023 19:44:26 +0000 https://website-dev.ait.tools/?p=213813 For Linux Fully Managed Accounts:

For Linux Fully Managed Accounts:

If you want to use a non standard homepage name other then index.htm or index.html on your Fully Managed Linux plan, then you will need to add the name of the page to your directory listing in your main Apache configuration file named httpd.conf.

  1. Login to your account with FTP
  2. Navigate to the /usr/local/etc/httpd/conf directory.
  3. Copy the httpd.conf file to your local PC.
  4. Open up your httpd.conf file and do a search for “DIRECTORYINDEX”.
  5. Add your homepage name to the line that looks similar to the following:
    DIRECTORYINDEX index.wml index.html homepage.html index.shtml homepage.shtml index.php
  6. Upload the edited file to your site.

For Windows Fully Managed Accounts:

By default, when you go to your site in a browser, Windows will attempt to load these files, in this order.

  • default.asp
  • default.html
  • default.htm
  • index.htm
  • index.html
  • index.asp

If none of these files are present, the server will display the “Directory Listing Denied” error. If you prefer to have another page to load automatically, then you would need to contact us by submitting a trouble ticket so we can add them to the directory listing on your server.

]]>
https://website-dev.ait.tools/blog/how-do-i-modify-my-directory-index-or-directory-listing/feed/ 0
How can I configure my log files on my fully managed Linux server to write only in the event of an emergency? https://website-dev.ait.tools/blog/how-can-i-configure-my-log-files-on-my-fully-managed-linux-server-to-write-only-in-the-event-of-an-emergency/ https://website-dev.ait.tools/blog/how-can-i-configure-my-log-files-on-my-fully-managed-linux-server-to-write-only-in-the-event-of-an-emergency/#respond Mon, 17 Jul 2023 19:37:39 +0000 https://website-dev.ait.tools/?p=213811 To configure your log files, follow the steps below.

  1. Connect through FTP to your server.
  2. Change directory to your /usr/local/etc/httpd/conf directory.
  3. Ensure that you have file transfer in ASCII mode and download the httpd.conf file.
  4. Open up your httpd.conf file locally on your PC in notepad or another raw text file editor.
  5. Find the following entry: (line 448 approximately)
    LOGLEVEL warn
  6. Change that line to…
    LOGLEVEL emerg
  7. In FTP, rename the file on the server from httpd.conf to httpd.conf.save.
  8. Upload the file on your local PC named httpd.conf to the server.
  9. Note: The httpd.conf is a critical file so always keep a backup of this file before making any modifications.
]]>
https://website-dev.ait.tools/blog/how-can-i-configure-my-log-files-on-my-fully-managed-linux-server-to-write-only-in-the-event-of-an-emergency/feed/ 0
Create a Custom 404 Page in Apache https://website-dev.ait.tools/blog/create-a-custom-404-page-in-apache/ https://website-dev.ait.tools/blog/create-a-custom-404-page-in-apache/#respond Mon, 17 Jul 2023 19:35:43 +0000 https://website-dev.ait.tools/?p=213809 What is a 404 Page?

A 404 Error page in Apache means “file not found”. Thus, these types of errors are normally seen by visitors to your website that land on pages that no longer exist, or have a bad link to a page. This page lets you provide a user-friendly page to your visitors if they don’t land on the appropriate page. Very few users, when presented with a 404, will do more beyond click back to get out of the mistake. A custom 404 page is a good opportunity to keep them on your site and get them back to the proper location of your website.

Creating a 404 Page

To create a 404 page, upload a new page to your website and ensure it is configured how you want it. Once created, get the URL (such as http://www.yourdomain.com/404) from the browser bar, and continue to the next step. For this example, let’s say your new 404 page is at the URL http://www.yourdomain.com/404/.

Updating Apache Configurations

To edit the 404 Error location with Apache, you can make several different modifications. By default, AIT’s fully managed Linux environment uses the 404 Error entries in the /www/conf/httpd.conf file, however you can also put these in a .htaccess file in the /www/htdocs directory as well. If editing the httpd.conf file, you can do the following:

1. Ensure there are no other 404 entries in the httpd.conf file. If so, use the pound sign (#) to comment them out.

2. Add in the following line:

ErrorDocument 404 /new404.html

3. Save the file and re-upload it to your server.

4. Restart the Apache/www services in the SMT 6.

]]>
https://website-dev.ait.tools/blog/create-a-custom-404-page-in-apache/feed/ 0