I'm using the dompdf plugin for codeigniter: http://codeigniter.com/wiki/PDF_generation_using_dompdf/
to generate pdfs from a form. This works on localhost, but on the live server I get this in the error log:
Directory index forbidden by Options directive: /var/www/vhosts/domain.co.uk/httpdocs/mm/userdata/account1/invoices/
Either the main
httpd.conf or the
.htaccess file in this directory or a nearby parent directory probably includes:
Your host may have to set it to
+Indexes if you don't have access in
.htaccess and want to list & browse the directory contents, absent a default
index.html, index.php, etc. If the directory should not have a default file and you don't enable
Indexes, you may only directly target the filenames of contents within it.
Indexes option is commonly disabled by default on many Apache installations.
Full details are available in the Apache core documentation on