Changing security setting and locked myself out
Posted by: langerd (---.cable.teksavvy.com)
Date: January 10, 2014 04:36PM

(the following is all on localhost. Everything worked until --)

Where do I grant myself permission?

According to the post-installation configuration thread I made the following change, to restrict access from outside:

............................................................................................................................................................
............................................................................................................................................................


- By default, the base directory of the server is accessible to anyone accessing your server - this is not secure and should not be allowed. So,
Replace:

<Directory />
AllowOverride none
Require all granted
</Directory>

with

<Directory />
AllowOverride none
Require all denied
</Directory>

............................................................................................................................................................
............................................................................................................................................................


However, I lost permission to access my localhost wamp pages. How do I make the security settings changes and retain permission for myself?

Help is appreciated.

Options: ReplyQuote
Re: Changing security setting and locked myself out
Posted by: RiggsFolly (---.as13285.net)
Date: January 10, 2014 04:56PM

there should be something like this lower down in the httpd.conf file. This should allow access to the wamp folder

<Directory "c:/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# [httpd.apache.org]
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1 192.168.2
</Directory>

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Changing security setting and locked myself out
Posted by: langerd (---.cable.teksavvy.com)
Date: January 10, 2014 05:37PM

Thank you.

Perhaps related - I am wondering if this configuration would matter when I move the wordpress site from localhost to the webhost server. Just curious as I don't really know how it works.

Options: ReplyQuote
Re: Changing security setting and locked myself out
Posted by: RiggsFolly (---.as13285.net)
Date: January 10, 2014 06:41PM

Well hopefully the LIVE server has been configured by a professional.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.