Darth FoxDie
New Member
Hi,
I have enable the rewrite module in apache 2.2.23.
in httpd.conf file i already change the "AllowOverride None" to "AllowOverride All".
My all website host in /home/domain.com/public_html
but in httpd.conf have default root and document directory is
<Directory "/var/www/html"> and DocumentRoot "/var/www/html" as well.
I make a separate file for all my virtualhost website called vhost.conf
EDIT: OK, That issue itself with wordpress. as well i forget to add AllowOverride All in the virtual host. basically it was a plugin issue and i thought this was the issue in rewrite module of apache.
Here is the virtualhost settings
Code: NameVirtualHost 1.1.1.1:80<VirtualHost 1.1.1.1:80>DocumentRoot /home/domain.com/public_html<Directory "/home/domain.com/public_html">allow from allOptions +Indexes</Directory>ServerName domain.comServerAlias www.domain.comErrorLog /home/domain.com/logs/error.logLogLevel emergCustomLog /home/domain.com/logs/access.log "combined"</VirtualHost>I try this on wordpress simple URLs. adding "AllowOverride All" in VirtualHost just fix the "No Found" error. but still page won't open and showing "Wordpress page not found error".
Without adding "AllowOverride All" in VirtualHost of domain.com it given this error
Not Found
The requested URL /about-us.html was not found on this server.
Apache/2.2.23 (CentOS) Server at www.domain.com Port 80
EDIT: it was a plugin bug, called .html pages of wordpress. by deleting plugin. all things back normal as well i add the AllowOverride All in virtualhost directory for AllowOverride main httpd.conf. Last edited by feronso; 20th Dec 2012 at 04:47 PM. Reason: issue solved by self
I have enable the rewrite module in apache 2.2.23.
in httpd.conf file i already change the "AllowOverride None" to "AllowOverride All".
My all website host in /home/domain.com/public_html
but in httpd.conf have default root and document directory is
<Directory "/var/www/html"> and DocumentRoot "/var/www/html" as well.
I make a separate file for all my virtualhost website called vhost.conf
EDIT: OK, That issue itself with wordpress. as well i forget to add AllowOverride All in the virtual host. basically it was a plugin issue and i thought this was the issue in rewrite module of apache.
Here is the virtualhost settings
Code: NameVirtualHost 1.1.1.1:80<VirtualHost 1.1.1.1:80>DocumentRoot /home/domain.com/public_html<Directory "/home/domain.com/public_html">allow from allOptions +Indexes</Directory>ServerName domain.comServerAlias www.domain.comErrorLog /home/domain.com/logs/error.logLogLevel emergCustomLog /home/domain.com/logs/access.log "combined"</VirtualHost>I try this on wordpress simple URLs. adding "AllowOverride All" in VirtualHost just fix the "No Found" error. but still page won't open and showing "Wordpress page not found error".
Without adding "AllowOverride All" in VirtualHost of domain.com it given this error
Not Found
The requested URL /about-us.html was not found on this server.
Apache/2.2.23 (CentOS) Server at www.domain.com Port 80
EDIT: it was a plugin bug, called .html pages of wordpress. by deleting plugin. all things back normal as well i add the AllowOverride All in virtualhost directory for AllowOverride main httpd.conf. Last edited by feronso; 20th Dec 2012 at 04:47 PM. Reason: issue solved by self