Difference between revisions of "Help:Upload File Extensions"
From Mech
Jump to navigationJump to searchm |
m |
||
Line 3: | Line 3: | ||
* FTP to the webserver at hades.mech.northwestern.edu. You will need a username and password (talk to Michael Peshkin). |
* FTP to the webserver at hades.mech.northwestern.edu. You will need a username and password (talk to Michael Peshkin). |
||
* Download the LocalSettings.php file from the /www/wiki directory. |
* Download the LocalSettings.php file from the /www/wiki directory. |
||
* Edit the LocalSettings.php file. (<font color=" |
* Edit the LocalSettings.php file. (<font color="Red" DO NOT CHANGE ANYTHING YOU DON'T KNOW HOW </font>) |
||
* Near the bottom of the file you will see a $wgFileExtensions key and a list of filetypes. |
* Near the bottom of the file you will see a $wgFileExtensions key and a list of filetypes. |
||
* Add your filetype to the list. |
* Add your filetype to the list. |
Revision as of 12:27, 4 August 2006
When you are trying to upload a file and get rejected because of the file extension, you need to add that file extension to the list of acceptable ones. This requires editing a file on the wiki webserver. Here's what you do:
- FTP to the webserver at hades.mech.northwestern.edu. You will need a username and password (talk to Michael Peshkin).
- Download the LocalSettings.php file from the /www/wiki directory.
- Edit the LocalSettings.php file. (<font color="Red" DO NOT CHANGE ANYTHING YOU DON'T KNOW HOW )
- Near the bottom of the file you will see a $wgFileExtensions key and a list of filetypes.
- Add your filetype to the list.
- Upload the LocalSettings.php file to the webserver, overwriting the old one.
NOTE: Don't upload *.exe files, zip them first.