2017-05-22, 04:53:16
(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?I don't have anything online. I'm trying to install it on a local server.
Alex
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.