When i set the appache directive DocumentRoot to /var/www/html/foo/public, my css files are loading successfully and everything looks great except that i dont want 'index.php' into my url.
But when i set DocumentRoot to /var/www/html/foo/public/index.php, the website is working but the css is not load at all .
My question is, how can i hide the 'index.php' and still get my css files loaded