pantera28 Posted August 18, 2010 Posted August 18, 2010 Can you get rid of or change the "oscommerce2" in the URL? like www.wiget.com/oscommerce2/catalog/index.php . I would like it more personalised to our site.
Guest Posted August 18, 2010 Posted August 18, 2010 Austin, You can change the catalog folder name, in this case oscommerce2 to anything you would like. Remember you will also have to edit the two(2) configure.php files to match the changes. Chris
MrPhil Posted August 18, 2010 Posted August 18, 2010 If you would like for visitors to see and experience your site as just "http://www.wiget.com/", you can do a "URL redirect" in your .htaccess file: RewriteEngine On RewriteCond %{REQUEST_URI} !^/oscommerce2/catalog [NC] RewriteRule ^(.*)$ /oscommerce2/catalog/$1 [L] Of course, you need to update both "configure.php" files to show the shorter URL; and if you have other redirection or rewriting, other subdomains and add-on domains, other applications, etc., it may be more complicated to do this. Also, this won't work on a Windows server (I presume there's a different way to accomplish the task).
pantera28 Posted August 18, 2010 Author Posted August 18, 2010 Where are the two configure.php file ... I only see one in the includes folder.
Guest Posted August 18, 2010 Posted August 18, 2010 Austin, There is one in includes/ and one in admin/includes/ Chris
pantera28 Posted August 18, 2010 Author Posted August 18, 2010 Chris thanks for the help. I renamed the oscommerce2 folder in DreamWeaver and it asked if I would like to update the following pages, I said yes, then synced the folder and uploaded to the server. Doesn't work, but in the up load it didn't delete the original "oscommerce2" folder from the server, so the site still works as www.wildislandtradingcompany.com/oscommerce2/catalog/index.php but not at www.wildislandtradingcompany.com/Island_Store/catalog/index.php. Should I have not allowed DW to update files and updated just the two config file myself??
pantera28 Posted November 29, 2010 Author Posted November 29, 2010 Took a break from the site for a few months waiting on a merchant account. Just got it and looking to finish up. I upgraded to RC2a and installed MVS and MATCv2.3.3 and everything seemed fine- could fully complete a transaction. Then I tried- what this post was started for- to change the oscommerce2 folder to Island_Store . I change both configure.php files , had issues with application_top.php file in both catalog and admin, so I restored them from a backup and site came up again. Now I am getting a simular error that I was gettiing before changing the application_top.php file when trying to check out with an item. Here what I get: Warning: require(../../../../../Island_Store/catalog/includes/modules/vendors_shipping/includes/classes/xmldocument.php) [function.require]: failed to open stream: No such file or directory in D:\hshome\austincw\wildislandtradingcompany.com\Island_Store\catalog\includes\modules\vendors_shipping\upsxml.php on line 29 Warning: require(../../../../../Island_Store/catalog/includes/modules/vendors_shipping/includes/classes/xmldocument.php) [function.require]: failed to open stream: No such file or directory in D:\hshome\austincw\wildislandtradingcompany.com\Island_Store\catalog\includes\modules\vendors_shipping\upsxml.php on line 29 Fatal error: require() [function.require]: Failed opening required '../../../../../Island_Store/catalog/includes/modules/vendors_shipping/includes/classes/xmldocument.php' (include_path='.;C:\Program Files\HSphere\3rdparty\PHP\PHP5\pear') in D:\hshome\austincw\wildislandtradingcompany.com\Island_Store\catalog\includes\modules\vendors_shipping\upsxml.php on line 29 Has anyone had a simular problem, or know how to fix this??
Guest Posted November 29, 2010 Posted November 29, 2010 Austin, Your site has been hacked and is VERY insecure. Read these threads: Admin Security Site Security You should also consider upgrading from your current version to atleast RC2a Chris
pantera28 Posted November 29, 2010 Author Posted November 29, 2010 Chris, Almost 100% sure I did the RC2a upgrade??
Guest Posted November 30, 2010 Posted November 30, 2010 Austin, Sure, no problem. Perhaps you should remove file_manager.php and define_languages.php from the admin directory ??? And then correct the admin login security hole. Chris
Guest Posted November 30, 2010 Posted November 30, 2010 Austin, Well, that locks me out. It should be secure now. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.