Author Topic: mod_rewrite not visible even after apache rebuild  (Read 9364 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
mod_rewrite not visible even after apache rebuild
« on: January 30, 2018, 08:18:49 PM »
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

Offline
***
Re: mod_rewrite not visible even after apache rebuild
« Reply #1 on: January 30, 2018, 08:22:49 PM »
what is output of command

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

Offline
*
Re: mod_rewrite not visible even after apache rebuild
« Reply #2 on: January 30, 2018, 08:26:36 PM »
Code: [Select]
[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 :(

Offline
***
Re: mod_rewrite not visible even after apache rebuild
« Reply #3 on: January 30, 2018, 08:32:21 PM »
did you check your htaccess file?

Offline
*
Re: mod_rewrite not visible even after apache rebuild
« Reply #4 on: February 03, 2018, 04:08:54 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?

Offline
***
Re: mod_rewrite not visible even after apache rebuild
« Reply #5 on: February 03, 2018, 05:20:10 PM »
I never had any issue it works very well.

Offline
*
Re: mod_rewrite not visible even after apache rebuild
« Reply #6 on: February 03, 2018, 09:22:12 PM »
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.