Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Location
    beijing
    Posts
    258
    Plugin Contributions
    1

    Default Re: WAMP / Apache INTERNAL SERVER ERROR when trying to move site to localhost...

    I prefer to do thing online.as after all,you have to be online.
    offline seems wasting a lot of time.
    focus on the open source for online shoping website.
    my site: best shop 24h.com

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: WAMP / Apache INTERNAL SERVER ERROR when trying to move site to localhost...

    Quote Originally Posted by win8win View Post
    I prefer to do thing online.as after all,you have to be online.
    offline seems wasting a lot of time.
    I call doing things online "Mistakes made while you watch" :-)

    Even worse, this is generally the same as saying "I'm so good, I can work without a backup".

    Worst advice ever!

    Cheers
    RodG

  3. #3
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: WAMP / Apache INTERNAL SERVER ERROR when trying to move site to localhost...

    Thank you RodG. (sorry for the slow reply, I have been busy but I really appreciate the help!) In my includes/configure and my admin/includes/configure both are define('HTTP_SERVER', 'http://localhost'); neither use a www. If I go to "www.localhost" I get the same server not found message too so I don't know if redirecting is the problem or not but it seems like it to me.

  4. #4
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: WAMP / Apache INTERNAL SERVER ERROR when trying to move site to localhost...

    Quote Originally Posted by toomanyknots View Post
    Well, I removed .htaccess file and it works now. ...

    [I]# Begin cache control #
    ExpiresActive on
    ExpiresActive off
    ...
    Just enable mod_expires in your Apache configuration (and make sure you set "AllowOverride All" or at least "AllowOverride Indexes" on the server root / virtual host root). Then those directives will work.


    Quote Originally Posted by toomanyknots View Post
    ... If I go to "www.localhost" I get the same server not found message too so I don't know if redirecting is the problem or not but it seems like it to me.
    Strange, can you confirm the issue started after installing IONCube? Can also check the Apache configuration and .htaccess files (for any FQDN style Redirect / RewriteRule directives) and your browser (any plugins or proxies).

    One alternative approach would be to change local domain name resolution for your computer so you can use something other than "localhost" and "localhost.localdomain".

    For example I currently have the following added to the host file on my development computer:

    Code:
    # Zen Cart Projects
    127.0.0.1       zencart.local
    127.0.0.1       www.zencart.local
    If you use a domain name such as "mydomain.local" and "www.mydomain.local" and configure Apache to use VirtualHost directives, it will make testing locally far easier. The multiple domain names on one IP address example should give a good idea how to accomplish this...

    For example I currently have the following added to the Apache configuration on my development computer:

    Code:
    # Allow Apache to serve the root folder
    <Directory "C:/workspaces/ZC/zencart/public_html/">
    	Options Indexes FollowSymLinks MultiViews
    
    	# Apache 2.4 requires mod_access_compat for these
    	AllowOverride all
    	Order allow,deny
    	Allow from all
    </Directory>
    
    # HTTP access
    <VirtualHost *:80>
    	ServerName zencart.local
    	ServerAlias www.zencart.local
    	DocumentRoot "C:/workspaces/ZC/zencart/public_html/"
    	ErrorLog "C:/workspaces/ZC/zencart/zencart-error.log"
    	CustomLog "C:/workspaces/ZC/zencart/zencart-access.log" common
    	SetEnv APPLICATION_ENV "development"
    </VirtualHost>
    
    # HTTPs access
    # Requires mod_ssl and SSL configuration elsewhere
    <VirtualHost *:443>
    	ServerName zencart.local
    	ServerAlias www.zencart.local
    	DocumentRoot "C:/workspaces/ZC/zencart/public_html/"
    	ErrorLog "C:/workspaces/ZC/zencart/zencart-error.log"
    	CustomLog "C:/workspaces/ZC/zencart/zencart-access.log" common
    	SetEnv APPLICATION_ENV "development"
    
    	SSLEngine on
    	SSLCertificateFile "C:/wamp/bin/openssl/certs/localhost.crt"
    	SSLCertificateKeyFile "C:/wamp/bin/openssl/private/localhost.key"
    </VirtualHost>
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. v151 Server error 500 when trying to move store to localhost
    By McLovin in forum Installing on a Windows Server
    Replies: 2
    Last Post: 5 Feb 2014, 11:42 AM
  2. Replies: 5
    Last Post: 10 Jul 2013, 09:01 AM
  3. Replies: 3
    Last Post: 8 Oct 2012, 05:35 AM
  4. Internal Server Error when trying admin login
    By danxx in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 31 Mar 2009, 04:18 AM
  5. 500 Internal Server Error when trying to log into admin
    By kbalona in forum General Questions
    Replies: 3
    Last Post: 3 May 2007, 11:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg