View previous topic :: View next topic |
Author |
Message |
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Mon Apr 06, 2009 12:41 am Post subject: Abyss X2 and Apache on Same Network on Different PCs |
|
|
While I'm a great fan of Abyss, there are some content management systems (CMS) that must have Apache to run correctly. Concrete5 being one of them.
http://www.concrete5.org/help/building_with_concrete5/installation/system_requirements
At present, I see no solution other than to run two web servers on my local network so that I may continue to use Abyss for most of my needs but use a second machine for Concrete5:
PC1: I have Windows Home Premium, Abyss X2, MySQL, PHP5 (preconfigured package for Abyss) installed on one PC for Coppermine Photo Gallery, Joomla, and Mambo. This setup is accessible from the outside world via four domain names.
PC2: I now have Windows Home Premium and Concrete5/WAMP installed on another PC. This setup is not currently accessible from the outside world but I want it to be. I would use one of my domain names for this setup. On our local home network, PC2 is named "Smoky" and the Concrete5 website can be viewed/managed from any PC on the local network via browsing to http://smoky/concrete/
How would I configure Abyss X2 to route a specific domain request to PC2 (Smoky)?
I know how to if the sites were on the same machine, i.e., PC1 but can't seem to figure out how to do it on separate machines.
Thank you. |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Mon Apr 06, 2009 1:34 am Post subject: |
|
|
If you only have one external IP address, your options are quite limited. You'll have to run server #2 on a different port. This will make all URLs for that server be http://domainname.com:portnumber
You could use a URL redirect to route any requests you know need to be moved to the other server. For instance, any requests to yourdomain.com/smoky/ or yourdomain.com/concrete/ would be externally redirected to yourdomain.com:portnumber. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Mon Apr 06, 2009 2:11 am Post subject: |
|
|
Thank you for your reply.
I had thought about that but was hoping Abyss X2 could handle the rerouting on its own...similar to how it handles different domain names. So you don't see a way to do it with X2 alone?
Thanks again. |
|
Back to top |
|
|
aprelium-support -
Joined: 20 Feb 2009 Posts: 356
|
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Mon Apr 06, 2009 11:49 am Post subject: |
|
|
Aprelium Support,
I will try a complete clean installation of Concrete5 today (third time) and document everything not working. I have most of those non-working functions already written down. If I recall correctly, "non-working" in this case means that clicking a menu link under the Concrete5 Dashboard did not produce ANY response...the desired function did not appear/work but no error messages were produced.
Thank you. |
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Mon Apr 06, 2009 11:50 am Post subject: |
|
|
THIS MESSAGE CAN BE DELETED. WHEN I SUBMITTED MY REPLY INITIALLY, AN INTERNAL SERVER ERROR 500 WAS DISPLAYED BY YOUR ABYSS SERVER.
Aprelium Support,
I will try a complete clean installation of Concrete5 today (third time) and document everything not working. I have most of those non-working functions already written down. If I recall correctly, "non-working" in this case means that clicking a menu link under the Concrete5 Dashboard did not produce ANY response...the desired function did not appear/work but no error messages were produced.
Thank you. |
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Mon Apr 06, 2009 1:19 pm Post subject: |
|
|
Aprelium Support,
Per your request, here is a bit more detail about the problems...
==========================================
Working from the PC that Abyss is installed on...
Install location: /htdocs/concrete
No alias (X2) is used since the install location is within the htdocs directory.
No user access control (X2) is used (for now).
Database: concrete
Completely fresh download of Concrete5 from Concrete5 Website.
Extracted using Winzip.
Deleted all files in htdocs/concrete and copied fresh files into that directory using Windows Copy Function. Have also used FTP on previous attempts but Windows Copy and/or FTP transfers made any difference to outcome.
Used phpmyadmin to delete all tables under database "concrete" resulting in an empty database.
Reinstalled Concrete5 via web install process: http://www.mydomain.com/concrete
All "green" indicators were displayed in the Concrete4 pre-install screen. Entered all parameters into install screen (username/password for database, database name, etc.)
Successful install displayed by Concrete along with Concrete5-assigned admin password.
Clicking link to go to site results in successful display of Home Page.
Clicking "login to edit page" link works. admin login/password works.
Website pages can be edited.
Problems arise when using Dashboard functions:
Results:
Concrete5 Dashboard (Logged in as admin)
SiteMap - Displays and appears to work.
http://www.mydomain.com/concrete/index.php/dashboard/sitemap
File Manager - Does not display (404 Error)
http://www.mydomain.com/concrete/index.php/dashboard/files
Reports - Does not display (404 Error)
http://www.mydomain.com/concrete/index.php/dashboard/reports
Users and Groups - Does not display (404 Error)
http://www.mydomain.com/concrete/index.php/dashboard/users
Scrapbook - Does not display (404 Error)
http://www.mydomain.com/concrete/index.php/dashboard/scrapbook
Pages and Themes - Does not display (404 Error)
http://www.mydomain.com/concrete/index.php/dashboard/pages
Add Functionlity - Does not display (404 Error)
http://www.mydomain.com/concrete/index.php/dashboard/install
Maintenance - Displays and appears to work.
http://www.mydomain.com/concrete/index.php/dashboard/jobs
Sitewide Settings - Displays and appears to work.
http://www.mydomain.com/concrete/index.php/dashboard/settings
Reset Admin Password - Does not display (404 Error)
http://www.mydomain.com/concrete/index.php/login/-/forgot_password
Oddly enough, some functions actually do work but the post-action generates a 404 error. For instance, if I use the forgot password function, a 404 error is displayed BUT within a few minutes I get an email with a new password in it. The new password does work.
So could this be some type of path error??
The Concrete5 config file appears to show the right path:
define('BASE_URL', 'http://www.mydomain.com');
define('DIR_REL', '/concrete');
The same set of files and install process works without any problems under WAMP so I'm still trying to understand why I'm having these problems under Abyss. Sure is a "head scratcher" for me!
Any thoughts? I'd love to use Abyss with Concrete5. Thanks. |
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Tue Apr 07, 2009 7:33 pm Post subject: |
|
|
Aprelium,
After a lot of research it appears that my problem may be caused by the PATH_INFO issue referenced in several forum posts.
Concrete 5 requires PATH_INFO to work and when queried, my system responds with FAIL_PATH_INFO'.
I am using the pre-configured for Abyss PHP package (current version).
Adjusting these variables in the php.ini file does not seem to help:
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
How do we resolve this so I can run Concrete 5? Thanks. |
|
Back to top |
|
|
aprelium-support -
Joined: 20 Feb 2009 Posts: 356
|
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Wed Apr 08, 2009 2:43 pm Post subject: |
|
|
Aprelium's pre-configured PHP 5.28 did the trick!
I got Concrete 5 to install and work. There was one little roadbump though. I got a fatal installation error because I have MySQL in strict mode. There is a workaround here: LitlURL link.
With that taken care of, it installed flawlessly.
Edit: I'm having a lot of problems with using it now.
When I try to login, I get a 500 error at this page: /index.php/login/-/do_login. Nothing is left in the CGI logfile. Oddly enough, I do get logged in and can edit the site. But there are many features that aren't working properly in the dashboard (File manager, reports, users and groups, scrapbook, pages and themes). They all produce a 500 error with nothing left in the CGI logfile. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Wed Apr 08, 2009 5:25 pm Post subject: |
|
|
pkSML,
When I read your initial posting today, I was very encouraged but your second posting has dampened that a bit. It appears you're having the same behavior that I'm seeing.
I was also wondering if you had tested each Dashboard menu (left side of Dashboard) function? Some work and some don't.
Aprelium,
When you say you got it to work, did you get the Dashboard functions too? Page editing seems to work but Dashboard functions are where it starts to fall apart.
Thanks.
We'll keep plugging at it but there is clearly something amiss as it runs without any problems on Wamp 2.0 (Apache) vs. Abyss. The Wamp package is the plain vanilla version and has not been customized for Concrete usage. |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Wed Apr 08, 2009 6:03 pm Post subject: |
|
|
gsownsby wrote: | I was also wondering if you had tested each Dashboard menu (left side of Dashboard) function? Some work and some don't. |
All these links on the left menu of the dashboard all produce a 500 Internal Server Error when I click them: File manager, reports, users and groups, scrapbook, pages and themes.
There is absolutely no information on the CGI error log. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Wed Apr 08, 2009 6:15 pm Post subject: |
|
|
Well rats! About three of my dashboard links work. Additionally, the Help link produces an error when a search is done.
Thanks. |
|
Back to top |
|
|
gsownsby -
Joined: 03 Jun 2003 Posts: 71 Location: Chattanooga, TN USA
|
Posted: Fri Apr 10, 2009 3:35 am Post subject: |
|
|
How about it Aprelium...any thoughts on this. See previous reply to your question to me. Thanks. |
|
Back to top |
|
|
|