[.HTACCESS]Sub Folder / Directory Question For ReWrite

Experienced Elementalist
Joined
Aug 22, 2008
Messages
231
Reaction score
3
ok my deal is this, im trying to make a .htaccess for a future site im doing, itl allow a controled upload and encryption for pictures.

My problem is my script will be sitting in a sub folder, that was made in public_html folder, the root folder for all web based data on my dedicated web host. Ok so the deal is i have to write the htaccess but i seem to not be getting the directory thing. It gives me a standard 500 eternal error message.

This was taken from a tutorial, i need to know how to make it point to a sub folder in the root directory called sha.
It'll be my first time dealing with htaccess, so yeah. I'm eager to learn if you can point me to ta tutorial for my problem not tell me learn basic htaccess, because i have learned up to this point for htaccess.

RewriteEngine on
##point to installation directory
##if it is the root dir,enter /
##else /otherdir
RewriteBase /
 
uhm lol, it tells me to point to the directory of the file, your both posts arent quite there.

The problem is i need to make the rewrite point to the folder with my scripts, sha. its not just tossed in the root folder, i have a sub folder called sha with the htaccess file in the root folder.

If i leave the htaccess as it is, itll give a internal 500 error, the site script i have does not have a httpd.conf, it requires the htaccess to point to the correct folder so the script can work, without the internal 500 error.
 
Back