.ws files

hirvi

Reputable
Joined
Apr 21, 2012
Messages
130
Reaction score
0
FP$
6
So i have to display .ws file but instead of displaying the /forums.ws it downloads it,
what to do?
 
What program did you use to write the code? Because you are not going to get a .ws to display that in a browser. You'd need a .php file for that.
 
Android, .ws is used for the RuneScape homepage :S

Is it a special type of language?
 
Where are you seeing this file?<br /><br />-- 06 Mar 2013, 13:16 --<br /><br />.ws appears to refer to "Windows Script".
 
If it contains PHP then just put a rewrite rule in your .htaccess.
This one should work:
Code:
RewriteEngine On
RewriteRule ^forum\.ws$ /forum.php [L]

(replace forum.php with the file that you would like to rewrite)
This can only be used on a apache server with .htaccess and rewrite rules allowed.
 
Back
Top Bottom