Well, i have a shared host and i have'nt ssh access. The problem is the server structure and symfony estructure...
Server has this estructure
error/ log/ ... web/
and in web dir we can load web aplication... symnfony structure is..
app/ .. web/
well the problem is that with my domain, if i try to access i have to put www.domainname.com/web/ to acces at symfony project....
1)if i try to copy all web symfony content to web directory it render first page ok(index.php) but links are wrong because they are www.domainame.com/moduleName/ and this directory does not exist...
2)if i create an .htacces file in web domain dir... when i put www.domainname.com it redirects me to web automatic but the other links have www.domainname.com/web/moduleName/ in his direction
I want ONLY www.domainname.com/moduleName/... how i can do it???
It is urgent.
Thanks.
edit1. this is my .htaccess file...
Options +FollowSymLinks +ExecCGI
<IfModule mod_rewrite.c>
RewriteEngine On
# uncomment the following line, if you are having trouble
# getting no_script_name to work
#RewriteBase /
# we skip all files with .something
#RewriteCond %{REQUEST_URI} \..+$
#RewriteCond %{REQUEST_URI} !\.html$
#RewriteRule .* - [L]
# we check if the .html version is here (caching)
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
# no, so we redirect to our front web controller
RewriteRule ^(.*)$ web/index.php [QSA,L]
</IfModule>
edit2. another problem related
..
/web/
app/
...
web/
/blog/
if i modify this, i will have problems accessing to my /blog/ dir? thanks