Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Error 500
#8
(2017-05-19, 21:13:24)Alexander_ Wrote:
(2017-05-19, 08:55:24)IllusiaX Wrote:
(2017-05-18, 23:55:26)Alexander_ Wrote: Can you post the .htaccess-File that is online?

Alex
I don't have anything online. I'm trying to install it on a local server.

I changed the 'Rewrite Base' to my subdirectory folder as instructed in the .htaccess-File.

According to my apache error logs: AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

According to some research: server name used in Apache (httpd.conf) must be the same as the server name in apache (httpd-ssl.conf)

I've tried this and I still get the same error.

You DO have a .htaccess-File, even on local installations. I think the reason for the error is, that you tried to call your local site via SSL (https://localhost in spite of http://localhost) without having an SSL-ceritficate

Alex

This is my htaccess-File, I followed the instructions fro RewriteBase but I'm guessing there is more I need to do but havent. I've never installed one of these before, this is all new to me.


#
# GetSimple CMS htaccess ROOT file
# apache 2.4
#

# The following require certain allow overrides, if getting 500 error comment them out one by one
# can be resolved in apache httpd.conf to ensure security alternatives

# override charset
AddDefaultCharset UTF-8

# prevent directory listings
Options -Indexes

# Follow symbolink links, This is required for rewrites on some hosts
Options +FollowSymLinks

# Set the default handler.
DirectoryIndex index.php

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
    <IfModule !mod_authz_core.c>
        Deny from all
    </IfModule>
    <IfModule mod_access_compat.c>
        Deny from all
    </IfModule>
    <IfModule mod_authz_core.c>
        <IfModule !mod_access_compat.c>
            Require all denied
        </IfModule>
    </IfModule>    
</Files>

<Files sitemap.xml>
    <IfModule !mod_authz_core.c>
        Allow from all
    </IfModule>
    <IfModule mod_access_compat.c>
        Allow from all
    </IfModule>
    <IfModule mod_authz_core.c>
        <IfModule !mod_access_compat.c>
            Require all granted
        </IfModule>
    </IfModule>    
</Files>

# handle rewrites for fancy urls
<IfModule mod_rewrite.c>
    RewriteEngine on

    # Usually RewriteBase is just '/', but
    # replace it with your subdirectory path
    RewriteBase C:\xampp\htdocs\princeandprincessevents\admin    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
</IfModule>

Thank you so much for your help.
Reply


Messages In This Thread
Error 500 - by IllusiaX - 2017-05-18, 10:22:17
RE: Error 500 - by shawn_a - 2017-05-18, 11:35:09
RE: Error 500 - by shawn_a - 2017-05-18, 11:36:10
RE: Error 500 - by IllusiaX - 2017-05-19, 08:50:45
RE: Error 500 - by Alexander_ - 2017-05-18, 23:55:26
RE: Error 500 - by IllusiaX - 2017-05-19, 08:55:24
RE: Error 500 - by Alexander_ - 2017-05-19, 21:13:24
RE: Error 500 - by IllusiaX - 2017-05-22, 04:53:16
RE: Error 500 - by Alexander_ - 2017-05-22, 22:06:52
RE: Error 500 - by shawn_a - 2017-05-22, 23:50:45
RE: Error 500 - by Carlos - 2017-05-23, 01:22:57
RE: Error 500 - by Alexander_ - 2017-05-24, 02:27:45
RE: Error 500 - by IllusiaX - 2017-05-23, 07:07:12
RE: Error 500 - by Alexander_ - 2017-05-24, 02:22:51
RE: Error 500 - by IllusiaX - 2017-05-25, 07:14:19
RE: Error 500 - by shawn_a - 2017-05-23, 11:48:12
RE: Error 500 - by Carlos - 2017-05-25, 02:09:33
RE: Error 500 - by IllusiaX - 2017-05-25, 07:13:11
RE: Error 500 - by IllusiaX - 2017-05-25, 07:15:30



Users browsing this thread: 1 Guest(s)