Forum Replies Created
It may be that you don’t have mod_rewrite activated in httpd.conf. Make sure that the LoadModule statement for mod_rewrite is uncommented. (Remove # sign at beginning.) Also look for a statement <Directory /xxx> where /xxx is the directory containing the files for the web site. If you see AllowOverride None in that section, change it to AllowOverride FileInfo or add FileInfo to the current set of options.
Back up httpd.conf before making changes
Please let me know if this works.
From my previous post, changing AllowOverride None to AllowOverride FileInfo seems to have made the member, groups, and other pages operational.
The following is a diff of the httpd.conf from the Yosemite version of macOS and my current version. Remember that there are three configuration files: httpd.conf, my.cnf, php.ini
BradleyRossMacBook:apache2 bradleyross$ diff httpd.conf httpd.conf-YosemiteDefault
< # History:
< # Starting with httpd.conf.pre.update which was dated July 1, 2015
< # The line for mod_include.so was uncommented 17-February-2017
< # to allow the use of server side includes
< # The line for mod_cgi.so was uncommented on 17-Feb-2017
< LoadModule cgi_module libexec/apache2/mod_cgi.so
> #LoadModule cgi_module libexec/apache2/mod_cgi.so
< # See http://askubuntu.com/questions/48362/how-to-enable-mod-rewrite-in-apache
< LoadModule rewrite_module libexec/apache2/mod_rewrite.so
< # The two following lines had been commented out as part of the
< # update July, 2015. They are now being uncommented to
< # put them back in
< LoadModule php5_module libexec/apache2/libphp5.so
< LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
> #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
> #LoadModule php5_module libexec/apache2/libphp5.so
> #LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
< # Apparently the slash at the end of the Directory open tag
< # refers to the root of the file system rather than /> indicating
< # an empty tag
< # The attribute Includes was added 17-Feb-2017
< Options FollowSymLinks Multiviews Includes
> Options FollowSymLinks Multiviews
< # The attribute None was changed to FileInfo 17-Feb-2017:wq
< #AllowOverride None
< AllowOverride FileInfo
> AllowOverride None
< # The following two lines were uncommented on 17-Feb-2017
< AddType text/html .shtml
< AddOutputFilter INCLUDES .shtml
> #AddType text/html .shtml
> #AddOutputFilter INCLUDES .shtml
I have .htaccess
I have loaded the entire system three times and followed the directions
I have made sure that all of the files have an owner of _www
I have already screamed and will probably do so again. I am currently using
Apple Macintosh macOS 10.12.3
The requested URL /blogs/wordpress/template/members/bradleyross/profile/edit/ was not found on this server.
The page register has the permalink http://localhost/blogs/wordpress/template/index.php/members
Does this sound correct
It also appears that multiple attempts to load the software may result in things like members-2 and members-3. You may have to send pages with those permalink to the trash and then empty the trash. Hopefully, you can then recreate the pages correctly
I now assume that the problem is somewhere in the rewrite module. In the httpd.conf file, I am going to change the line Allow None to Allow FileInfo. Does this sound reasonable and are there any other changes you think that I should make.
in httpd.conf, I have
LoadModule alias_module libexec/apache2/mod_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
# The two following lines had been commented out as part of the
# update July, 2015. They are now being uncommented to
# put them back in
LoadModule php5_module libexec/apache2/libphp5.so
LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
# 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
# for more information.
# The attribute Includes was added 17-Feb-2017
Options FollowSymLinks Multiviews Includes
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
# Controls who can get stuff from this server.
Require all granted