Fixed PHP includes, messed everything else up...?

Raphael

New member
So I have this neat little site, in XHTML Strict, with some CSS, with a separate folder for the pictures. And then I think to myself: "it sure is annoying to modify every page every time I want to change something with the menu!". And so I search on Google and I stumble upon this delightful suggestion of using PHP includes. I try it, and it doesn't work, because apparently I need to set the includes folder separately. I do it in the .htaccess file, and it works again... however, none of my images are displayed, and the font goes back to Serif when the my CSS file specified that it should be Sans Serif. What the hell is going on?

.htaccess file:
DirectoryIndex home.php
php_value include_path ".:/opt/lampp/htdocs/"

Running XAMPP.
Ignore that thing about the font, it's my mistake.
And this is what I get when trying to access the image through the web browser.


Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.
 
Back
Top