Thanks a lot
Main Topics
Browse All TopicsHi,
Now I have another problem.
When I put this code in .htaccess file It is working fine:
.htaccess:
RewriteEngine On
RewriteRule ^games_details/([0-9]+)/([
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/toprated/$ top_rated.php?type=$1 [L]
RewriteRule ^([a-z]+)/mostplayed/$ most_played.php?type=$1 [L]
RewriteRule ^([a-z]+)/new/$ new_games.php?type=$1 [L]
RewriteRule ^search/([a-z]+)/([0-9]+)$
but when I put it in vhost.conf file It doesn't work
vhost.conf:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^games_details/([0-9]+)/([
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/([a-z\-/]+)/([0-
RewriteRule ^([a-z]+)/toprated/$ top_rated.php?type=$1 [L]
RewriteRule ^([a-z]+)/mostplayed/$ most_played.php?type=$1 [L]
RewriteRule ^([a-z]+)/new/$ new_games.php?type=$1 [L]
RewriteRule ^search/([a-z]+)/([0-9]+)$
<Directory /var/www/vhosts/new.allgam
php_admin_value open_basedir "/var/www/vhosts/new.allga
php_admin_value register_globals off
</Directory>
#AddHandler fcgid-script .php
#<Directory /var/www/vhosts/new.allgam
# FCGIWrapper /opt/php51/cgi-bin/php5 .php
# Options ExecCGI
# allow from all
# php_admin_value open_basedir #"/var/www/vhosts/new.allg
# php_admin_value register_globals off
#</Directory>
WHY???
Thanks in advance and best regards
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: hernst42Posted on 2007-06-05 at 02:21:23ID: 19215611
See http://httpd.apache.org/do cs/2.0/mod / mod_rewri te.html#re writerule
h/.htaccce ss, with RewriteBase /somepath) fo'':
special the part
Inside per-server configuration (httpd.conf)
for request ``GET /somepath/pathinfo'':
and
Inside per-directory configuration for /somepath
(/physical/path/to/somepat
for request ``GET /somepath/localpath/pathin