symlink files

A symbolic link (also symlink or soft link) is a special type of code that contains a reference to another file or directory. So, it's like having a copy of the file in more than one folder, when actually you only have one copy of that file on your site.

Put the following code into .htaccess in /home/username/ (NOT in public_html folder).
Also, place the desired file in /home/username/ (NOT in public_html folder). 

suPHP_ConfigPath /home/username/

order allow,deny
deny from all

Be sure to replace username with your lower-case cPanel username and replace file.name with the file's actual name.

  • Email, SSL
  • 13000 Users Found This Useful
Was this answer helpful?

Related Articles

Accessing Web Disk

Web disk (also known as Web Dav) is a drag-and-drop interface which allows you to access your...

Apache Error Logs

When you check the error logs, you can see many things.Some things you can ignore:File does not...

Apache modules that are on all of our shared servers

core.c mod_authn_file.c mod_authn_dbm.c mod_authn_dbd.c mod_authn_default.c mod_authn_alias.c...

Can I password protect directories?

To password protect directory: Wait! Why read this when you can watch the movie tutorial...

CGI center

The following CGI Scripts are pre-installed and ready to use on your account: Simple CGI Wrapper...