| 1. |
Solve : Web Pages!? |
|
Answer» Hi Every One The website can have the .ilovepie extension and still output HTML. mmmmm Pie... In either case it's not related to security. In this case, it's LIKELY a server-side ASP.NET script that generates the page, much like PHP or ASP or any number of server-side languages. of course if the server admin was weird he might decide that ASPX works just as well for delivering as pure HTML, as Treval pointed out. Of course that means that the admin cannot be trusted since he's crazy. For security reasons one might TRY to fool an attacker into thinking the site is ASP (.NET) by adding .aspx to every page but in fact the server is using PHP or something else! Like, have .aspx map to .php, lol!Yes, just use htaccess. Code: [Select]AddType application/x-httpd-php .foo Then just change all of your file extensions to .foo. If you don't want to change extensions: Code: [Select]Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.foo$ $1.php [NC] hello i am new here and i just want to tell you about nothingNo thanks.Webpage Extensions like .aspx is usually used by Web 2.0 services these days. Either .php (PHP) or .asp/.aspx (ASP). They are dynamic pages unlike .html pages. When I signed up for a Website, I had to get a provider supporting these extensions to increase usability.sigh... its not the EXTENSIONS that are supported. You could make ASP be a PHP file on a server that didn't support ASP if you wanted, that means that the EXTENSION for ASP would be "supported" but it wouldn't be supporting the use of actual ASP. Extensions are simply used to determine how the server will deal with the file. if it's a pl file, it might be passed through a perl interpreter server-side that outputs an HTML page. If it's PHP, same story, but with a PHP interpreter, and the same with ASP (which isn't really a language of it's own but rather the ability to use a number of different languages with the same set of ASP objects for returning a response to the browser, which, will be HTML.) The browser ALWAYS get's something it can understand (well, if everything works). This is always either HTML or XHTML. you cannot read a PHP file directly with a browser- you would just get program code. |
|