New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

mod_rewrite not visible even after apache rebuild

Started by carl29, January 30, 2018, 08:18:49 PM

Previous topic - Next topic

carl29

Hi

I have followed http://forum.centos-webpanel.com/apache/mod_rewrite-so-missing/msg4119/#msg4119 and still even after rebuilding apache and the virtual hosts the mod_rewrite is not showing on the php info, and neither a simple wordpress install can show the clean urls, only if I had index.php in between.

Any tips, please

bullten

what is output of command

Quote/usr/local/apache/bin/httpd -M

carl29

[root@srv51 ~]# /usr/local/apache/bin/httpd -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_event_module (static)
authn_file_module (shared)
authn_core_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_core_module (shared)
access_compat_module (shared)
auth_basic_module (shared)
reqtimeout_module (shared)
filter_module (shared)
mime_module (shared)
log_config_module (shared)
env_module (shared)
headers_module (shared)
unique_id_module (shared)
setenvif_module (shared)
version_module (shared)
proxy_module (shared)
proxy_connect_module (shared)
proxy_http_module (shared)
unixd_module (shared)
status_module (shared)
autoindex_module (shared)
dir_module (shared)
userdir_module (shared)
alias_module (shared)
rewrite_module (shared)
security2_module (shared)
rpaf_module (shared)
ssl_module (shared)
suphp_module (shared)


Ok, it is there it seems.. why then the permalinks is not taking in account :(


carl29

Quote from: bullten on January 30, 2018, 08:32:21 PM
did you check your htaccess file?

Hi,

Yes, actually it is strange because normally when we set the permalinks of wordpress it should create the htaccess.
In this case is not creating, despite having the default directories and file permissions.

I added a default htaccess to the instalation and still having a
"Not Found
The requested URL /universal-techno-2/ was not found on this server."

Why is this happening?
Can anyone confirm that wordpress works good with cwp?

bullten


carl29

I solved it, not sure how.

Wp is not creating the htaccess during install.. so after after a second try I could add it manually.