Reserved directories which cannot be used

As you set up your site you will need to decide where to put different files and how to organize your directories. There are a couple of directory names you should not use. Apache is the server level program responsible for displaying webpages. Within the configuration file for Apache there are a couple of Aliases that it uses for directories. These are /manual/ and /icons/.

Because of this you should not use these names for any directories. If you have a file called mypage.html in a directory called /manual and type in http://yourdomain.com/manual/mypage.html then Apache will look it's own directory for mypage.html and since there is no page with that name there it will return a 404 Page Not Found Error. The same would be true for /icons/mypage.html or /icons/myimage.gif.

The solution is to use a different name for these directories, perhaps mymanual or myicons

  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Change the password on an FTP account?

Kindly use the following steps to change a password on an FTP account:- (a) Click on the Ftp...

I have uploaded my files but my site is not coming up in my browser?

When you FTP into your account, you will see 5 folders (tmp, mail, public_html, public_ftp and...

Common FTP codes. What do they mean?

Here's a list of some of the most common FTP codes you might see:- 100 - Codes The requested...

Error: No connection could be made because the target machine actively refused it. Connection closed

The error is occurring because there is no server listening at the hostname and port you...

Error: Unable to resolve host name

This error means that the hostname you are trying to connect to cannot be resolved to an IP...