This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Re: .htaccess (mod rewrite) Rewrite not working - .htaccess being ignored by Apache
« on: December 06, 2014, 10:41:23 PM »
hellow
Thank you for Developing CWP
Now I've got it installed!
I create a user and submit a domain
myDomain.com
by username
myUname
and
.htaccess file on this domain root have this code:
----------------------------------------
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
-----------------------------------------
rewrite mode not working in server...
I use this topic method
and
I add this code before <Virtualhost> of myDomain.com
virtual host>>myip:2030/index.php?module=file_editor&file=/usr/local/apache/conf.d/vhosts.conf
-----------------------------------------
<Directory "/home/<myUname>/public_html">
AllowOverride All
</Directory>
-----------------and too in virtual host template--------------
And I reboot server! after changing configs
But It not worked and
500 Internal server occurred!
in CWP, Apache not installed as service and i can't upgrade it or install any mod_ with yum!!!
how to install mod_rewrite in CentOS 6.6 CWP ?
Thank you for Developing CWP
Now I've got it installed!
I create a user and submit a domain
myDomain.com
by username
myUname
and
.htaccess file on this domain root have this code:
----------------------------------------
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
-----------------------------------------
rewrite mode not working in server...
I use this topic method
and
I add this code before <Virtualhost> of myDomain.com
virtual host>>myip:2030/index.php?module=file_editor&file=/usr/local/apache/conf.d/vhosts.conf
-----------------------------------------
<Directory "/home/<myUname>/public_html">
AllowOverride All
</Directory>
-----------------and too in virtual host template--------------
And I reboot server! after changing configs
But It not worked and
500 Internal server occurred!
in CWP, Apache not installed as service and i can't upgrade it or install any mod_ with yum!!!
how to install mod_rewrite in CentOS 6.6 CWP ?
Pages: [1]