I'm running Suse Linux Enterprise Server and I have a site in /srv/www/mysite .
Everything is working but I need to redirect a directory mydir to myfile.php.
So I placed an index.html file in mydir and index.html is supposed to redirect to myfile.php with html code.
Problem is that Apache is forbidding me access to that directory.
In default-server.conf I have:
and this is the only "Directory" directive in my Apache configuration files.
Allow from all
If I add "Indexes" to the options, Apache is listing index.html file .......
Log file says:
Please, how can I make this redirect work.........?
Directory index forbidden by Options directive: /srv/www/mysite/mydir/
I tried but now is listing index.html file (with page "Index of /mydir")........