Image problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
todd2006
Forum Newbie
Posts: 1
Joined: Mon Jan 26, 2009 7:20 pm

Image problem

Post by todd2006 »

Hello,

This is the url
http://www.nsca-cc.org

till today the website was working fine. But something has happened and i cannot see the images and the navigation on the website.

If you right click on the image it says

http://www.nsca-cc.org/%3C?php echo($relativepath); ?>_

So i thought something has changed in the .htaccess file

Here is the code for that file
php_flag register_globals on
php_value session.save_path "/var/www/vhosts/nsca-cc.org/tmp/php_session_data"
ErrorDocument 404 /404.html
ErrorDocument 400 /404.html
ErrorDocument 403 /404.html
ErrorDocument 500 /404.html
ErrorDocument 401 /404.html

RemoveHandler .inc
AddType application/x-httpd-php .inc .php .phtml

php_flag display_errors 1

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.nsca-cc\.org [NC]
RewriteCond %{SERVER_PORT} !^345$
RewriteRule ^(.*)$ http://www.nsca-cc.org/$1 [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.nsca-cc\.org [NC]
RewriteCond %{SERVER_PORT} ^345$
RewriteRule ^(.*)$ https://www.nsca-cc.org/$1 [L,R=301]
</IfModule>
I also checked the httpd.conf file and this code in <directory>

Is AllowOverride None

Can someone tell me why cant the images be displayed.

Any help is highly appreciated

todd
Post Reply