Jump to content

Topic on Project:Support desk

Image/file upload problem

5
Csimre1 (talkcontribs)

Hi!

On these picture is my problem.

They dont appear on MediaWiki when i upload them. What can be the problem?

Thanks for help!

87.123.37.79 (talkcontribs)

Your image file obviously is present on the server.

However, when you are trying to access a file inside the images/ folder, you get an internal server error. This is the problem!

Please check the server error log to get more information about what is going wrong!

Csimre1 (talkcontribs)

Thanks! This is the error message: .htaccess: Options not allowed here.

How I can fix it?

(The .htacces file is original.)

Csimre1 (talkcontribs)

I changed the file of Apache2 setting to AllowOverride and now its working! :)

87.123.37.79 (talkcontribs)

The file images/.htaccess contain the line Options +FollowSymLinks. I am guessing that this line is causing the error then.

To fix this, edit the apache configuration file

You need to add "Options" to the AllowOverride list. It should e.g. look like this:

<Directory /var/www/>
	Options Indexes FollowSymLinks MultiViews
	AllowOverride FileInfo Options
	Order allow,deny
	allow from all
</Directory>

Adding "Options" to the AllowOverride list, will permit the use of Options directive in htaccess file. This will fix the error.

Reply to "Image/file upload problem"