Set documentroot (apache2)

Hi in default configuration file of apache i have insert this:
Alias /miro “/var/www/tesi/public”
<Directory “/var/www/tesi/public”>
Options ExecCGI FollowSymLinks
AddHandler fcgid-script .fcgi
AllowOverride all
Order allow,deny
Allow from all

in .htaccess file i have insert:
RewriteBase /miro/

if i launch http://localhost/miro
it works but the ilnks in the page send to http://localhost/link and not

How i can do to set miro like document root?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs