chrometweaks.org

A free iPage web host please help me?

Click Here To View All Answers...


First of all A free iPage web host please help me? Looking forward for any response. Second question of mine... Hi.

After explaining to my host that I need the secure space on the server to point to my normal catalog folder for the 4th time, it is now pointing in the right place..

My the "sign up" page, "check out" pages work all the way up untill it asks for the "index.php" file..

This is the url it it's trying to use:.

Https://secure.fast....talog/index.php.

This is what it should look like:.

Https://secure.fast....sepad/index.php.

All pages except the index display fine when in https?.

This is my configure file.

 define('HTTP_SERVER', 'http://www.mousepad.uk.com'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTPS_SERVER', 'https://secure.fast.net.uk/mousepad/'); // eg, https://localhost - should not be empty for productive servers.

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

 define('HTTP_COOKIE_DOMAIN', 'http://www.mousepad.uk.com');.

 define('HTTPS_COOKIE_DOMAIN', '');.

 define('HTTP_COOKIE_PATH', '/catalog/');.

 define('HTTPS_COOKIE_PATH', '');.

 define('DIR_WS_HTTP_CATALOG', '/catalog/');.

 define('DIR_WS_HTTPS_CATALOG', '');.

 define('DIR_WS_IMAGES', 'http://www.mousepad.uk.com/catalog/images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'images/');.

 define('DIR_WS_INCLUDES', 'includes/');.

 define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

 define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

I have absolutly no idea whats going on, so if anyone could take a look and let me know what you think, that would be great..

In the mean time, I shall keep fiddling..

Cheers.

Toby..

Comments (30)

That's a good question. I'm not sure what is the answer to that question. I'll do some research and get back to you if I bump into an anything. You should email the people at iPage as they probably could give you an answer..

Comment #1

After log-in, you should go back to http, this is a copy of my catalog/includes/cofigure.php.

Define('HTTP_SERVER', 'http://www.leisurezone.co.uk'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTPS_SERVER', 'https://www.leisurezone.co.uk'); // eg, https://localhost - should not be empty for productive servers.

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

 define('HTTP_COOKIE_DOMAIN', 'www.leisurzone.co.uk');.

 define('HTTPS_COOKIE_DOMAIN', 'www.leisurzone.co.uk');.

 define('HTTP_COOKIE_PATH', '/');.

 define('HTTPS_COOKIE_PATH', '/');.

 define('DIR_WS_HTTP_CATALOG', '/');.

 define('DIR_WS_HTTPS_CATALOG', '/');.

 define('DIR_WS_IMAGES', 'images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

 define('DIR_WS_INCLUDES', 'includes/');.

 define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

 define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');.

 define('DIR_FS_CATALOG', '/home/julianp/public_html/');.

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

And a copy of my admin/includes/configur.php.

Define('HTTP_SERVER', 'http://www.leisurezone.co.uk'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTP_CATALOG_SERVER', 'http://www.leisurezone.co.uk');.

 define('HTTPS_CATALOG_SERVER', 'https://www.leisurezone.co.uk');.

 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module.

 define('DIR_FS_DOCUMENT_ROOT', '/home/julianp/public_html/'); // where the pages are located on the server.

 define('DIR_WS_ADMIN', '/admin/'); // absolute path required.

 define('DIR_FS_ADMIN', '/home/julianp/public_html/admin/'); // absolute pate required.

 define('DIR_WS_CATALOG', '/'); // absolute path required.

 define('DIR_FS_CATALOG', '/home/julianp/public_html/'); // absolute path required.

 define('DIR_WS_IMAGES', 'images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG'images/');.

 define('DIR_WS_INCLUDES', 'includes/');.

 define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

 define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG'includes/languages/');.

 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG'includes/languages/');.

 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG'images/');.

 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG'includes/modules/');.

 define('DIR_FS_BACKUP', DIR_FS_ADMIN'backups/');.

Mine works the way you are saying..

Check your set up to mine.

I hope this helps.

Julian..

Comment #2

Hi Toby,.

I am having the same problem after checkout with the iPage site staying secure, if you figure it out will you post it..

Thanks.

Mark..

Comment #3

Forgot to put in last post, set your "enable SSL catalog" to false in catalog/admin/includes/configure.php.

Julian..

Comment #4

Try this:.

Define('HTTP_SERVER', 'http://www.mousepad.uk.com'); // eg, [URL=http://localhost]http://localhost[/URL] - should not be empty for productive servers.

Define('HTTPS_SERVER', 'https://secure.fast.net.uk'); // eg, [URL=https://localhost]https://localhost[/URL] - should not be empty for productive servers.

Define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

Define('HTTP_COOKIE_DOMAIN', 'www.mousepad.uk.com');.

Define('HTTPS_COOKIE_DOMAIN', 'secure.fast.net.uk');.

Define('HTTP_COOKIE_PATH', '/catalog/');.

Define('HTTPS_COOKIE_PATH', '/mousepad/');.

Define('DIR_WS_HTTP_CATALOG', '/catalog/');.

Define('DIR_WS_HTTPS_CATALOG', '/mousepad/');.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'images/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

This post has been edited by.

Johnson.

: 17 September 2004, 12:26..

Comment #5

If you still have problems, open up catalog/includes/application_top.php and change:.

 $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';.

To:.

 $request_type = (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on')) ? 'SSL' : 'NONSSL';.

Matti..

Comment #6

Hi Johnson.

Cheers for the response but....

Tried both options and it's still coming up with.

Https://secure.fast.net.uk/mousepad//catalo...d30a87d888bf70c.

I think it should look like this.

Https://secure.fast.net.uk/mousepad/index.p...d30a87d888bf70c.

It's shoving in that "/catalog/ from somewhere but I just don't know where?.

Cheers though..

Comment #7

Right, I have identified the fault, but know not how to fix it?.

Clicking on "create new profile" it calls up...

Https://secure.fast....ate_account.php.

But when I click the button to log on it take you to.

Https://secure.fast....talog/index.php.

For some reason it's replaceing the /mousepad/ directory with the /catalog/ directory.

I shall have a scan through my admin configure..

Cheers..

Comment #8

Hi Matti,.

I have changed the application_top.php like you suggested but still no joy..

Are my configs right?.

Catalog configure.php.

Define('HTTP_SERVER', 'http://www.24-7mobileaccessories.co.uk'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTPS_SERVER', 'https://www.24-7mobileaccessories.co.uk'); // eg, https://localhost - should not be empty for productive servers.

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

 define('HTTP_COOKIE_DOMAIN', 'www.24-7mobileaccessories.co.uk');.

 define('HTTPS_COOKIE_DOMAIN', 'www.24-7mobileaccessories.co.uk');.

 define('HTTP_COOKIE_PATH', '/');.

 define('HTTPS_COOKIE_PATH', '/');.

 define('DIR_WS_HTTP_CATALOG', '/');.

 define('DIR_WS_HTTPS_CATALOG', '/');.

 define('DIR_WS_IMAGES', 'images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

 define('DIR_WS_INCLUDES', 'includes/');.

 define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

 define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Admin configure.php.

Define('HTTP_SERVER', 'http://www.24-7mobileaccessories.co.uk'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTP_CATALOG_SERVER', 'http://www.24-7mobileaccessories.co.uk');.

 define('HTTPS_CATALOG_SERVER', 'https://www.24-7mobileaccessories.co.uk');.

 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module.

Thanks.

Mark..

Comment #9

Hi Mark.

Not sure if you have the same problem as me, but I think what is happening is that when you click to log on, the page should go to your http e.g. www.mysite.com/catalog/. If you use a shared certificate, you probaly have space pointing to your catalog folder. Mine for instance is called /mousepad/..

Now whats happening is when you log on, it's trying to get to the http iPage site but it's using the secure url inplace of the unsecure. My configure.php uses /catalog/ for http and /mousepad/ for https. The configure file is telling the browser that the contents it's looking for is in the http folder /catalog/ but something is not telling the browser that it has to change from https to http?.

I think thats right..

We just need to find out what that is (i belive that matti was getting at that with the app header change) and set it streight...

Comment #10

Hi Toby,.

As far as I can tell my configs are right, my shop is in the root so theoretically the paths should just be /..

Mark..

Comment #11

Hi Mark.

Not sure if it's to do with the configure file. It's something in the process. When you click on login, somthing shold tell it to go back to http. That something isn't doing it...

Comment #12

Hi.

Does anyone know where I can find the code for sending the customer back to http after login/ checkout? Or how it does it?.

Cheeres..

Comment #13

Tdupres, take a step back....

Here's what you started with....

With that in mind... it seems that you don't have a 'catalog' folder correct? If that is true, then you should haven't 'catalog' anywhere in your https paths in your configure file..

2nd, I highly recommend you purchase an SSL certificate instead of using the free version you seem to be using. It saves a LOT of hassle in the future..

This post has been edited by.

Djgizmo.

: 19 September 2004, 01:50..

Comment #14

Thanks for the response.

I do have a catalog folder, but the secure space is being pointed at my catalog folder. I use a shared certificate, hense the secure.fastnet address. I am wondering if by pointing the secure space at my standard catalog folder, I am in some way stoping oscommerce from getting back to the non secure space..

Cheers for the sugestions though, you are right that I should get a full certificate and a dedicated server. My boss, on the other hand, would disagree...

Comment #15

Hi.

After explaining to my host that I need the secure space on the server to point to my normal catalog folder for the 4th time, it is now pointing in the right place..

My the "sign up" page, "check out" pages work all the way up untill it asks for the "index.php" file..

This is the url it it's trying to use:.

Https://secure.fast....talog/index.php.

This is what it should look like:.

Https://secure.fast....sepad/index.php.

All pages except the index display fine when in https?.

This is my configure file.

 define('HTTP_SERVER', 'http://www.mousepad.uk.com'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTPS_SERVER', 'https://secure.fast.net.uk/mousepad/'); // eg, https://localhost - should not be empty for productive servers.

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

 define('HTTP_COOKIE_DOMAIN', 'http://www.mousepad.uk.com');.

 define('HTTPS_COOKIE_DOMAIN', '');.

 define('HTTP_COOKIE_PATH', '/catalog/');.

 define('HTTPS_COOKIE_PATH', '');.

 define('DIR_WS_HTTP_CATALOG', '/catalog/');.

 define('DIR_WS_HTTPS_CATALOG', '');.

 define('DIR_WS_IMAGES', 'http://www.mousepad.uk.com/catalog/images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'images/');.

 define('DIR_WS_INCLUDES', 'includes/');.

 define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

 define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

I have absolutly no idea whats going on, so if anyone could take a look and let me know what you think, that would be great..

In the mean time, I shall keep fiddling..

Cheers.

Toby..

Comment #16

Hi Again.

Right, after you login/ check out, should you be redirected to the http index?.

My iPage site seems to be staying within the secure area?.

Just a thought..

Comment #17


This question was taken from a support group/message board and re-posted here so others can learn from it.