Enabling ASP With Htaccess

I have Apache::ASP installed on a server. And I have gotten a little code that I found on a website to work. But when I tried doing any code other that what was on that website it doesn't work. This is what I have in my htaccess file Code:

PerlModule Apache::ASP
<Files ~ (.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>

The ASP code that I'm using is Code:

<% response.write("Hello World!") %>

View Replies


ADVERTISEMENT

Enabling The Sever

I am running Win Xp pro and have all components of IIS
installed from the add/remove programs I have my FTP &
website running fine, I am working on a page for a new
sit and it's a form when I go to the page I get all the
code not the page when I publish it to my host the pages
display but the forum cant access the DB, switching to a
Win based host, but I want to test here then publish how
can I do this?

View Replies View Related

Enabling .NET Win 2k3 Server

I believe that the .NET framework comes by default installed on win 2k3. It better, otherwise i don't know why it has .net framework wizard or .net configuration.

i can run asp files on my server fine. I changed the extention of the asp to aspx. Now it says file not found when i try and load it. Is this a problem with my aspx maybe, or you think aspx isn't registered by default, anyone know if i need to set something special up?

View Replies View Related

Enabling Multiple File Downloads

I currently need to allow users to download a series of Excel files from the intranet which were generated individually using ASP. Rather than have them click one link at a time to download only one file, I want to find out if it is possible to let them download the whole series of files with one link click.

The users are all on the LAN so bandwidth is not an issue. Furthermore, the total size of all the files is only 100kb.

View Replies View Related

.htaccess

I have used .htaccess on PHP and standard HTML sites (with Linux servers), but never on a Windows server. I searched and searched for articles on the subject (ASP and .htaccess) but couldn't really find anything.
Frustrated, I just created an .htaccess file and uploaded it to see what would happen. I tried to access a page that wasn't on the server, but was not directed to the 404 page I created.
I have also reassigned the custom error (404) page via IIS. Does something else need to be configured on the server for the .htaccess page to be recognized? Are there any nuances on Windows Server 2003 I should be aware of?

View Replies View Related

ASP .htaccess

I have just redesigned a website on a windows server. I am more used to the Unix platform. As I don't have root access I can't add custom asp 404 pages and was wondering if I can use .htaccess redirects that picks up anything that has a .html extension and redirects it to an error page?Is .htaccess a Unix thing? Are there any other solutions

View Replies View Related

Htaccess And Asp

we have a 3rd party secure solution that uses htaccess to restrict access to a directory on our site, is there any way to detect what login/password has been entered to access the folder (we want to stop people from letting their colleagues in using their unique password). i guess its kind of what you'd want if the site had adult content.

View Replies View Related

301 Redirect Like .htaccess

I'm trying to look for an asp equivilent of .htaccess that is used on apache
servers but for use with asp.

I am doing a website and moving lots of files into a single directory to
make it easier to maintain, however, I don't want to loose the search engine
indexing that is already in place.

What I would like to have is a db/.htacces-like files, that when a page
doesn't exist the server redirect.

I have found several options however, there seem to be pros and cons with
all of them so I am not sure what is the usual process for achieving what I
am trying to achieve. I don't have direct access to IIS. Code:

View Replies View Related

ASP Equivilant To .htaccess

Does ASP have a file whose function is similar to .htaccess on Apache? I'm looking to protect subdirectory content.

View Replies View Related

Global.asa = .htaccess??

Is the global.asa file the equivalent of an .htaccess file??

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved