04-14-2023, 10:08 PM
My system is use ehcp 0.37.3.b on ubuntu 14.04.
I have upload webpage include .htaccess.But it's will show not found.
Follow is .htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)-([0-9]+)-([0-9]+)\.phtml$ index.php?action=$1&id=$2&layer=$3
RewriteRule ^t/(.+) index.php?action=tagkey&key=$1
RewriteRule ^key/(.+)/(.+) index.php?action=search&dir=$2&key=$1
RewriteRule ^key/(.+) index.php?action=search&key=$1
RewriteRule ^(.+)-(.+)/(.+)/(.+)/(.+)\.phtml$ index.php?action=service&module=$1&fun=$3&permit=view&id=$2&bid=$5&p=$4 [L]
RewriteRule ^(.+)-(.+)/(.+)/(.+)\.phtml$ index.php?action=service&module=$1&fun=$3&permit=view&id=$2&bid=$4 [L]
RewriteRule ^(.+)-(.+)/(.+)/ index.php?action=$1&id=$2&p=$3
RewriteRule ^(.+)-(.+)/ index.php?action=$1&id=$2
RewriteRule ^article/(.+)/(.+)/ index.php?action=article&id=$1&p=$2
RewriteRule ^article/(.+) index.php?action=article&id=$1
RewriteRule ^guestbook-(.+)\.phtml$ index.php?action=guestbook&p=$1
RewriteRule ^index_(.+)\.phtml$ index.php?action=index&lang=$1
RewriteRule ^calendar-([0-9]+)-([0-9]+)\.phtml$ index.php?action=calendar&year=$1&month=$2
RewriteRule ^(.+)\.phtml$ index.php?action=$1
And I have add some to template like follow:
<Directory {homedir}/httpdocs>
AllowOverride All
</Directory>
Is ehcp 0.37.3.b haven't startup mod_rewrite?How to fix it?
Restored from old drupal forum, for user uid:30183 username:akong
You may reset your password to access your new account here.
I have upload webpage include .htaccess.But it's will show not found.
Follow is .htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)-([0-9]+)-([0-9]+)\.phtml$ index.php?action=$1&id=$2&layer=$3
RewriteRule ^t/(.+) index.php?action=tagkey&key=$1
RewriteRule ^key/(.+)/(.+) index.php?action=search&dir=$2&key=$1
RewriteRule ^key/(.+) index.php?action=search&key=$1
RewriteRule ^(.+)-(.+)/(.+)/(.+)/(.+)\.phtml$ index.php?action=service&module=$1&fun=$3&permit=view&id=$2&bid=$5&p=$4 [L]
RewriteRule ^(.+)-(.+)/(.+)/(.+)\.phtml$ index.php?action=service&module=$1&fun=$3&permit=view&id=$2&bid=$4 [L]
RewriteRule ^(.+)-(.+)/(.+)/ index.php?action=$1&id=$2&p=$3
RewriteRule ^(.+)-(.+)/ index.php?action=$1&id=$2
RewriteRule ^article/(.+)/(.+)/ index.php?action=article&id=$1&p=$2
RewriteRule ^article/(.+) index.php?action=article&id=$1
RewriteRule ^guestbook-(.+)\.phtml$ index.php?action=guestbook&p=$1
RewriteRule ^index_(.+)\.phtml$ index.php?action=index&lang=$1
RewriteRule ^calendar-([0-9]+)-([0-9]+)\.phtml$ index.php?action=calendar&year=$1&month=$2
RewriteRule ^(.+)\.phtml$ index.php?action=$1
And I have add some to template like follow:
<Directory {homedir}/httpdocs>
AllowOverride All
</Directory>
Is ehcp 0.37.3.b haven't startup mod_rewrite?How to fix it?
Restored from old drupal forum, for user uid:30183 username:akong
You may reset your password to access your new account here.