Author |
Message |
afc
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/Star_Trek/Star_Trek_-_Defiant.gif)
Joined: Aug 16, 2003
Posts: 107
Location: USA
|
Posted:
Fri Apr 03, 2009 6:07 pm |
|
Some file typed cant download right in firefox and maybe ie too, not sure i know nsn scripts has this problems for ie.
This fixed downloads of rar files from my site
NukeSecripts(tm) Network also recommends the use of FireFox Browser to browse our site.
Our files are stored as .tgz files. This is the short form of .tar.gz . If you have problems extracting our files change the .tgz to .tar.gz and you should have no more problems. If you are using Internet Explorer, it will try to force a .tar which is wrong.
found i fix for simple .htaccess change
Code:
Options All -Indexes
DirectoryIndex index.php index.htm index.html
FileETag none
# -------------------------------------------
# For faster load times.
# -------------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType application/x-javascript "access plus 5 minutes"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
</IfModule>
# -------------------------------------------
# For Correct file types.
# -------------------------------------------
# CSS
AddType text/css .css
# XHTML
AddType application/xhtml+xml .xhtml
# XML
AddType text/xml .xml
# SVG
AddType image/svg+xml .svg .svgz
AddEncoding x-gzip .svgz
# HTML
# Server Side Includes (SSI)
AddType text/html .shtml
# Active Server Pages
AddType text/html .asp
# Favicons
AddType image/vnd.microsoft.icon .ico
# Macromedia
AddType application/x-shockwave-flash .swf
AddType application/x-director .dir .dcr .dxr .fgd
AddType application/x-authorware-map .aam
AddType application/x-authorware-seg .aas
AddType application/x-authorware-bin .aab
AddType image/x-freehand .fh4 .fh5 .fh7 .fhc .fh
# Adobe PDF
AddType application/pdf .pdf
# Real
AddType application/vnd.rn-realmedia .rm
AddType audio/vnd.rn-realaudio .ra .ram
AddType video/vnd.rn-realvideo .rv
AddType audio/x-pn-realaudio-plugin .rpm
# Microsoft multimedia
AddType video/x-ms-asf .asf .asx
AddType audio/x-ms-wma .wma
AddType audio/x-ms-wax .wax
AddType video/x-ms-wmv .wmv
AddType video/x-ms-wvx .wvx
AddType video/x-ms-wm .wm
AddType video/x-ms-wmx .wmx
AddType application/x-ms-wmz .wmz
AddType application/x-ms-wmd .wmd
# MPEG
AddType audio/x-mpegurl .m3u
# Binary Compressed files and archives
AddType application/zip .zip
AddType application/x-gzip .gz
AddType application/x-gtar .gtar
AddType application/x-rar-compressed .rar
AddType application/octet-stream .dmg
# Java
AddType application/x-java-applet .class
# Quicktime movies
AddType video/quicktime .mov .qt
# XBM files
AddType image/x-xbitmap .xbm
# WAV files
AddType audio/x-wav .wav
# Bittorrent
AddType application/x-bittorrent .torrent
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>
<Files .staccess>
deny from all
</Files>
# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication and most servers do not require it.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
# <Limit GET POST PUT>
# require valid-user
# </Limit>
# AuthName "Restricted"
# AuthType Basic
# AuthUserFile /path/to/your/.staccess
# </Files>
# -----------------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------------
# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
|
this should be included in next release |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
Site Admin
![](modules/Forums/images/avatars/502a2d1345d88a86ddb4a.png)
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Sat Apr 04, 2009 2:00 am |
|
Those lines are already in the .htaccess in RN 2.3.01 as standard. ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
afc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Apr 04, 2009 7:24 am |
|
this is new
# -------------------------------------------
# For Correct file types.
# -------------------------------------------
# CSS
AddType text/css .css
# XHTML
AddType application/xhtml+xml .xhtml
# XML
AddType text/xml .xml
# SVG
AddType image/svg+xml .svg .svgz
AddEncoding x-gzip .svgz
# HTML
# Server Side Includes (SSI)
AddType text/html .shtml
# Active Server Pages
AddType text/html .asp
# Favicons
AddType image/vnd.microsoft.icon .ico
# Macromedia
AddType application/x-shockwave-flash .swf
AddType application/x-director .dir .dcr .dxr .fgd
AddType application/x-authorware-map .aam
AddType application/x-authorware-seg .aas
AddType application/x-authorware-bin .aab
AddType image/x-freehand .fh4 .fh5 .fh7 .fhc .fh
# Adobe PDF
AddType application/pdf .pdf
# Real
AddType application/vnd.rn-realmedia .rm
AddType audio/vnd.rn-realaudio .ra .ram
AddType video/vnd.rn-realvideo .rv
AddType audio/x-pn-realaudio-plugin .rpm
# Microsoft multimedia
AddType video/x-ms-asf .asf .asx
AddType audio/x-ms-wma .wma
AddType audio/x-ms-wax .wax
AddType video/x-ms-wmv .wmv
AddType video/x-ms-wvx .wvx
AddType video/x-ms-wm .wm
AddType video/x-ms-wmx .wmx
AddType application/x-ms-wmz .wmz
AddType application/x-ms-wmd .wmd
# MPEG
AddType audio/x-mpegurl .m3u
# Binary Compressed files and archives
AddType application/zip .zip
AddType application/x-gzip .gz
AddType application/x-gtar .gtar
AddType application/x-rar-compressed .rar
AddType application/octet-stream .dmg
# Java
AddType application/x-java-applet .class
# Quicktime movies
AddType video/quicktime .mov .qt
# XBM files
AddType image/x-xbitmap .xbm
# WAV files
AddType audio/x-wav .wav
# Bittorrent
AddType application/x-bittorrent .torrent |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Apr 04, 2009 8:09 am |
|
Sorry, I didn't expand the code window.
I believe the problem may be caused by your php installation and those lines are not required on all servers. Therefore I would be hesitant about adding them as default. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Apr 04, 2009 8:26 am |
|
I don't agree with adding them to .htaccess. It would be better to get these into the Apache configuration. If its in .htaccess, EVERY request to your web site will be forced to go through these actions... not something I would want to force on everyone as a default.
However, this list is very beneficial. If there was one or two specific ones causing issues and one can't get their host to fix, these can be used. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Sat Apr 04, 2009 12:19 pm |
|
You can do this in Firefox. Close Firefox, locate your profile directory and the file mimetypes.rdf and you can edit it if necessary in any text editor. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 05, 2009 3:01 am |
|
You really don't want your users having to do this to use your site, so like Montego said this should really be addressed in your Apache configuration. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 05, 2009 6:14 am |
|
Less savvy Firefox users can do as it is intended in TOOLS => Options => Applications as it was designed to do on the individual user desired settings. Just select an application and click on "Action" where there are several choices. Done server-wide is of course a valid choice as well. There are always alternatives to meet the demand.
Note: Say what ??? "Life Cycles Becoming CPU Cycles" ?? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 05, 2009 8:07 am |
|
You can also add these through cpanel. ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 07, 2009 7:06 am |
|
dad7732 wrote: | Note: Say what ??? "Life Cycles Becoming CPU Cycles" ?? |
Ah, you bumped passed the next rank post mark. You are now spending more on CPU Cycles than Life Cycles... you are being assimilated... ![Laughing](modules/Forums/images/smiles/icon_lol.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 07, 2009 7:15 am |
|
Hmmm, I'll have to consult "Q" about all this ... ![Very Happy](modules/Forums/images/smiles/icon_biggrin.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|