markyboy Posted January 17, 2006 Posted January 17, 2006 Hi All, Has anyone got a copy of the original .htaccess code that I can put into my file and re-upload to my server. I have it as text on a A4 printed page but I need to have it as cut n paste. Cheers markyboy
tina_boots Posted January 17, 2006 Posted January 17, 2006 Hi All,Has anyone got a copy of the original .htaccess code that I can put into my file and re-upload to my server. I have it as text on a A4 printed page but I need to have it as cut n paste. Cheers markyboy Just download the package again. It's a good idea anyway to keep a fresh osC package in reserve just in case you need it for situations like this. Be well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes.
AlanR Posted January 17, 2006 Posted January 17, 2006 Which one? There's a couple different versions. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
markyboy Posted January 17, 2006 Author Posted January 17, 2006 Which one? There's a couple different versions. Hi There, I am not quite sure. I have downloaded osc 2.2 ms2 update 051112 and the documentation. Now on Page 111 there is an (Explanation of .httaccess in osCommerce) here it gives an example of the code within the .htaccess file which is within the admin folder on your new osc installation. Now my problem is I would like to recreate this and include my htaccess and passwd files (after creating at apache.org) once I know how these files should look like and I have seen an original, which im trying to source. Does that throw some light onto the situation Hope you can help many thanks for responding markyboy
AlanR Posted January 17, 2006 Posted January 17, 2006 Here's the original from /admin # $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
markyboy Posted January 19, 2006 Author Posted January 19, 2006 Here's the original from /admin Many thanks Alan regards markyboy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.