Micke Posted June 12, 2006 Share Posted June 12, 2006 I have finished builing my osCommerce shop at http://example.com/catalog. Now I have gotten myself a nice domain name (www.shopsname.com) pointing to that location. Once the customer gets to www.shopname.com every internal link leads to a http://example.com/whatever-catalog-page. That's not the way I want it so I first tried to edit configure.php. That works, but for some reason it kills the Autologon feature I want. Autologon forgets me for some reason... So the host-support says "use mod_rewrite" but he can't tell me how. I have tried for a couple of hours to edit the .htaccess -file in my catalog directory but I can't make it work... # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 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> What lines do I have to add here? Or does anyone know how to make autologon work with www.shopsname.com? Link to comment Share on other sites More sharing options...
ddp Posted June 12, 2006 Share Posted June 12, 2006 I don't think you need to be messing with mod rewrite for this. THe autolog might not have recognized the new domain address as logining in to the same account. If auto login worked with the old config it should work with the new one as well. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh? Link to comment Share on other sites More sharing options...
ddp Posted June 12, 2006 Share Posted June 12, 2006 BTW don't double post it is against the forum rules Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh? Link to comment Share on other sites More sharing options...
Micke Posted June 12, 2006 Author Share Posted June 12, 2006 BTW don't double post it is against the forum rules Sorry... not intended... I was struck by panic and hit "refresh" after I posted... shut down the browser and started it again... and there were two posts... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.