How to tell the server that all absolute paths must begin with the current directory?
There is a site for work NC all the way to the scripts, styles and images of the absolute.
Who is required to move the site to two directories deeper, respectively, all the way broke.
(/site.com -> /a/b/site.com)
Is it possible to repair without changing the paths to all the files?
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?act=$1 [L]
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?act=$1&opt=$2 [L]
the DocumentRoot setting specifies where files for web access. Usually this option is in the file:
/etc/apache2/httpd.conf or /etc/apache2/apache.conf
if it's not there, then add to the configuration file the line DocumentRoot "C:/Sites/home/localhost/www"
or DocumentRoot "/var/www/your_domain/a/b"
then restart Apache
maybe this will do for solve your problem