- Member | 13
I have application situated on subdirectory:
/web1 /web2 /web3 -- Nette application /app /log /temp ... /www .htaccess .htaccess
Problem is, that only way how can I access to web, is by domain.com/web3/www, but this is now so nice, Everything what i need is to get to web by domain.com/web3
On hosting I have enable put all files only to /web3 so I am not able to move app, log, vendor and etc to root. Is there any way how to set up in .htaccess to solve my problem. Here is my .htaccess configuration:
.htaccess in /web3
RewriteEngine On RewriteRule (.*) www/$1 [L]
.htaccess in /web3/www … I tried uncomment RewriteBase / , but it doesnt help
Thank you to everyone for advice
- Member | 33
your .htaccess configuration seems to be alright – I've just checked it on my localhost Nette sandbox project and it works well.
Is it working for you on localhost? Maybe it can be problem with the configuration on your hosting (disabled module mod_rewrite or something).