Post by amoritan » Thu Aug 11, 2011 4:56 am

I can't find the htaccess.txt file in OpenCart 1.5.1

Where is it?

Newbie

Posts

Joined
Wed Jul 27, 2011 5:20 am

Post by lozzareeves » Mon Aug 15, 2011 8:52 am

i would also like to know this please!

New member

Posts

Joined
Fri Feb 25, 2011 7:10 am

Post by SapporoGuy » Mon Aug 15, 2011 2:40 pm

Sort of hidden.
I'm not using the main installer, I use SVN and then hand edit so ...

Normally, a htaccess file has a "." in front of it.
I come across this a lot and because I'm using OSX and open the files direct in my "sites" folder the htaccess file seems to be missing.

It is not missing, it is just doing it's job.

To find it, so to say, you can go to the terminal (OSX) and then just use the command:
cp .htaccess htaccess.txt
This will work on basically any *nix base system. (Sorry, I don't do windows but there should be a similar way or do something like show hidden files).

Basically, all I did/do is rename the file so that my system will show it to me.
Once you make changes you need to rename back so that the "." is front of the name.

The dot in front of the name basically tells your system that the file is special system file and that the system should not show it to the world (even you ;) ).

By removing or adding the dot in front is a way to start / stop the htaccess ability.

I hope this helps !

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by uksitebuilder » Mon Aug 15, 2011 3:07 pm

Actually, the .htaccess file is called .htaccess.txt in the original download and is in the upload folder.

see attached for 1.5.1

Rename it to .htaccess and edit to suit

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 63 guests