Newbie to Zen Cart - Linux questions
Running Latest Zen-Cart on RHEL5 with latest MySQL etc....
Everything installed just fine and I can get to Admin and Shopping cart on the Linux box itself. However, when trying to access the same using a different computer on the LAN, I get either a blank page or cannot be found.
Installed to /var/www/html/Zen and all files and folders are under Zen. I tried to copy the index.php over to /var/www/html but no dice. Renamed the index.php to index.html and got the actual text within the index.html/php file.
If I leave the /var/www/html folder empty, I do get the Apache welcome screen.
What might I be missing?
Thx
Re: Newbie to Zen Cart - Linux questions
Was rhis installed to a domain name?
What manager do you have for virtual host additions
Re: Newbie to Zen Cart - Linux questions
Quote:
Originally Posted by
kobra
Was rhis installed to a domain name?
What manager do you have for virtual host additions
I did not install this to a domain name as I was just trying this out to see if I COULD install without any major glitches before I go live. :)
As far as I know, I haven't installed any manager for virtual host additions. I guess that makes perfect sense...
What is a good virtual host manager to use on RHEL5?
DUH!!!!
Ok, it has been many years since I worked with the Apache virtual host conf... I can't remember (Senior Moment) how to get to the html config page in order to configure the virtual hosts..
Re: Newbie to Zen Cart - Linux questions
Quote:
I did not install this to a domain name as I was just trying this out to see if I COULD install without any major glitches before I go live. :)
check the /includes/configure.php file for where this was setup/installed
Code:
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.???????????.com');
define('HTTPS_SERVER', 'https://www.???????????.com');
Quote:
been many years since I worked with the Apache virtual host conf.
shell in as root and I believe this is at /etc
Re: Newbie to Zen Cart - Linux questions
Isn't there a gui that is included with Apache?
Page layout different on remote computer
Not sure where I need to be with regards to this post but, When I open either the admin or the customer pages on the server itself, everything looks great. When I go to the virtual site from a remote computer, all I see is a basic text layout on any browser.
Latest version of Zen Cart, RHEL5, Latest MySQL. Set the security like the instructions stated.
This is probably something stupid but I'm asking anyway..
Thanks in advance..
Z
Re: Page layout different on remote computer
Re: Page layout different on remote computer
Right now, I have this on a local LAN. I am able to call the site up an any browser and on any machine. However, I am not getting the pretty graphics. I am only getting the pretty graphics on the server.
My virtual host is testsite.shamrockcom.cc and internal DNS is properly resolving on the LAN. Once I have this issue resolved, I'll make it public..
Hope I answered your question.
Re: Page layout different on remote computer
It is almost like the permissions are off somehow. I've gone through and set everything for 777 and 644 as directed but no dice.
apache 2.x css/images don't load
Apache Virtual host resolves internally to catalog.domain.com. RHEL5 Zen Cart Host displays all pages correctly. Other client computers using any other browser display only text and links. No pictures or anything else.
When I click on any link on the main page through the client system on the LAN, I get the error:
HTTP Status 404 - /Zen/index.php
type Status report
message /Zen/index.php
description The requested resource (/Zen/index.php) is not available.
I have tried to edit the httpd.conf using the AllowOverride Limit without any luck and I have gone through and set the permissions as directed. It seems to me that there is somewhere a perm issue but I am not sure where else to look.
Any ideas would be a great help.
Thanks:(
Re: apache 2.x css/images don't load
MODERATOR NOTE: Your multiple threads on the same topic have been merged into one.
Re: apache 2.x css/images don't load
You need:
a) name resolution working properly so *all* computers everywhere can see the server and its domains
b) server configured to use the domain name in your vhost
c) your Zen Cart configure.php files set to use the publicly-reachable domain name
http://www.zen-cart.com/forum/showthread.php?t=146848
If you're looking for help in properly setting up a homespun webserver to run websites either casually or professionally, I suggest taking that discussion to a forum which specializes on that topic, like webhostingtalk.com
The only part of your problem that's related to Zen Cart is the configure.php files needing the correct publicly-accessible domain name.
Re: apache 2.x css/images don't load
Quote:
Originally Posted by
DrByte
You need:
a) name resolution working properly so *all* computers everywhere can see the server and its domains
b) server configured to use the domain name in your vhost
c) your Zen Cart configure.php files set to use the publicly-reachable domain name
http://www.zen-cart.com/forum/showthread.php?t=146848
If you're looking for help in properly setting up a homespun webserver to run websites either casually or professionally, I suggest taking that discussion to a forum which specializes on that topic, like webhostingtalk.com
The only part of your problem that's related to Zen Cart is the configure.php files needing the correct publicly-accessible domain name.
Name resolution is working properly as I can hit the ZenCart server by FQDN from any computer. (catalog.domain.com)
Virtual server is configured to use vhost name.
Where in the configure.php do I need to edit the server statement?
Re: apache 2.x css/images don't load
If you look in the file, you'll see that the first define in the file is for HTTP_SERVER, which has the domain name that your Zen Cart is setting in all its URL links.
Re: Page layout different on remote computer
Ok,
I edited both configure.php files and restarted Apache. is there anything else I should restart? Not sure where to restart Zen Cart.
Re: Page layout different on remote computer
There is no "restart" for Zen Cart. None is needed. Nor is it necessary to restart Apache when editing Zen Cart files.
Re: Page layout different on remote computer
Re: Page layout different on remote computer
So, the only configure.php that I need to edit would be the store version, correct?
Re: Page layout different on remote computer
As you can see by actually looking at the 2 configure.php files there are 6 places where you need to have reachable URLs depending on whether you're using SSL or not.
In the non-admin configure.php file there is HTTP_SERVER and HTTPS_SERVER
In the admin configure.php file there are four HTTPx_xxxx_SERVER settings.
Set all according to your intended use.
Normally, if you install Zen Cart by actually using the domain name you're using on the server, those values will all be automatically set appropriately as a result of your answers to the questions asked during the zc_install installation/setup process.
If you change your server configuration, including vhosts and domain names, after you've installed Zen Cart, you'll need to manually edit those settings yourself.
Re: Page layout different on remote computer
Copy that... Is there supposed to be an "AllowOverride Limit" under the vhost config in Apache?
Is the .htaccess file only accessable through an ftp client? Couldn't see that file to rename with hopes that it would resolve my issue.
Thanks
Re: Page layout different on remote computer
Quote:
Originally Posted by
Zombie63
Copy that... Is there supposed to be an "AllowOverride Limit" under the vhost config in Apache?
Sorry, that's a hosting question. Google might have the answer.
Quote:
Originally Posted by
Zombie63
Is the .htaccess file only accessable through an ftp client? Couldn't see that file to rename with hopes that it would resolve my issue.
Files that start with a "dot" in the filename are commonly treated as "hidden", since that's what the "dot" denotes. Thus, since many FTP programs default to not showing hidden files, that's likely why you're not seeing them.
http://lowfatlinux.com/linux-filenames.html
http://dsl.org/cookbook/cookbook_8.html
http://www.xav.com/scripts/installer/3061.html
Re: Page layout different on remote computer
I've made the changes but I am still getting the following.. Could you take a look please?
http://catalog.shamrock-ip.com/
Re: Page layout different on remote computer
Why not just spend a few dollars on a cheap web host where everything works so you can focus on the ZC part and not have to worry about if the problems are with ZC or your private lamp stack.