• Resolved haggardns

    (@haggardns)


    Hi,

    I am running WAMP server locally on my pc.
    Apache Version :
    2.4.9 – Documentation
    PHP Version :
    5.5.12 – Documentation
    Server Software:
    Apache/2.4.9 (Win64) PHP/5.5.12
    MySQL Version :
    5.6.17

    I downloaded from my hosted service the entire wordpress site and the mysql database for the site.

    I have imported the mysql wordpress database into my local mysql server.

    I have followed the instructions and troubleshooting found at this link:
    https://www.ads-software.com/support/topic/how-to-copy-wordpress-site-to-local-test-server?replies=34
    As part of this link I ran all the update SQL statements successfully.

    My C:\ drive on Windows 7 looks like this:

    c:\wamp\www\website\mywebsite\trusted\public_html\
    This contains my wordpress site (i.e. php files, wp-XXXXX folders, wp_config.php, etc)

    When I browse to the url in WAMP menu for local host I am taken to the WAMP page with all my WAMP landing page info
    so the LAMP is running fine.

    When I goto https://localhost/trusted/homedir/public_html/
    I get the error:
    Internal Server Error
    The server encountered error or misconfiguration, etc, etc

    I noticed that if I go to :
    https://localhost/trusted/homedir I see the page load as index of / trusted/homedir. I can see all the files and folders
    under this directory but interestingly the public_html directory does not show up, this may be normal. Please advise.

    I put a standard test.html file into homedir and try to read this page and it gives same error, so I have narrowed
    down that before I troubleshoot my wordpress site, I need to get the apache component to serve up a simple html page.

    Please advise.

    thanks

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • c:\wamp\www\website\mywebsite\trusted\public_html\

    This path is not how it should be. I am unclear as to why you would create such a convoluted path ??

    For example, let’s use livesite as the folder name where you place the contents of your hosted site. The path will be:

    C:\wamp\www\livesite

    The URL to use to access the front of the site will be:

    https://localhost/livesiste and the admin log in will be https://localhost/livesite/wp-admin

    Thread Starter haggardns

    (@haggardns)

    The convoluted path is because the live site came from a hosted service with multi-tenancy I suppose. I don’t want to strip away the convoluted structure and leave it as is, as I might accidentally break a lot of custom code and external SAAS services being used.

    I am new to WordPress ??

    I will strip it down as you advise and put it all into a new directory and see how it goes.

    thanks

    Chris

    Thread Starter haggardns

    (@haggardns)

    Okay I have stripped it down.

    c:\wamp\www\trusteddev\ maps to https://localhost/trusteddev

    I dumped the readme.html file into the root of the site but I still get a 500 internal error.

    I created a folder called site1 and dumped in the readme.html and I can open it fine via https://localhost/site1/readme.html however it does not have the nice formatting (the word press modules must spiffy it up).

    The original WordPress site download into the www\ root works fine. It must have something to do with coming off the hosted site.

    Since I am only trying to view readme.html (baby steps) I think it has to do with : httpd.conf? or .htaccess files?

    Thread Starter haggardns

    (@haggardns)

    Yes, I dumped the htaccess file into the Site1 and now causing readme.html to give 500 error.

    I will close this topic resolved and learn apache independently ??

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Apache server for WAMP giving error before testing wordpress site’ is closed to new replies.