Web-based Proxy Server

I am making a web-based proxy server, and I need to make it so that it can download a webpage, and modify all of the links inside it (so that it can proxyfy all of the links, rather than the browser downloading the files from the original website).

So far the first bit is fine, but I still need to make my script modify all of the links inside the given HTML file. I know I can do it, but it wouldn’t be the most effective way of doing it. Does anyone have any suggestions on how they would search through an HTML script, and locate links?

So far what I am doing is searching for anything that one of these at the beginning of it:
href=
src=
background=

And I am changing the text that comes afterwards (thus modifying the link). But for many reasons, this is a really bad way of doing it.

View Replies


ADVERTISEMENT

Corporate Proxy Server

I work in a corporate environment where they have been restricting (preventing) more and more of what we can view on the internet.I think they restrict that through the proxy server... in Internet Explorer, in Internet Options under LAN Settings, we use an automatic configuration script.

Any way... to make a long story short and to be as truthful as possible, I still want to view my fantasy football web sites. My question is, is there a way I could code
something to get around this? For example, I do have space on a server that runs ASP, so could I code something that would allow me to get around this?

View Replies View Related

How To Send Mail Using ASP Through Proxy Server

My computer is at intranet,I want to use following code to realizing function of sending mail.But this program only can send mail between intranet.If I send mail in internet,I need to through proxy server,the proxy method is HTTP(proxy server:xx.yyyy.com,port:8080,username/password),I want to use this program to send from intranet to internet through proxy server.I want to know how to realize this function.My code is follows:

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = frommail
objCDOMail.To = tomail
objCDOMail.Subject = mailsubject
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = mailbody
objCDOMail.Send
Set objCDOMail = Nothing

View Replies View Related

MSXML2.ServerXMLHTTP.3.0 Proxy Server

Consider the following simple function to get the contents of a remote URL:

Function GetURL(str_URL)
Set obj_XMLHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.3.0")
obj_XMLHTTP.Open "GET", str_URL, False, "", ""
obj_XMLHTTP.Send
GetURL = obj_XMLHTTP.ResponseText
Set obj_XMLHTTP = Nothing
End Function

Is there anyway that I can use a remote proxy server to make the request?

View Replies View Related

Fetching A RSS Feed Through A Proxy Server And Displaying It On ASP Page

I need to display the contents of an external XML/RSS feed in an ASP page. I have found a couple of scripts that seem to do the trick at:

(URL address blocked: See forum rules)
(URL address blocked: See forum rules)/ow.asp?ASP_Based_RSS_Reader

(any good alternatives will be much welcome)

However, my problem is that the ASP page is part of an Intranet site, so it can only access the Internet (in order to fetch the RSS) via a proxy server.

Can somebody tell me how can I modify the above scripts (or any other that does the same) so the IP/port/login/password parameters can be passed along with the feed URL?

View Replies View Related

Login Script Based On Email, IP And Sql Server Backend

My questions concerns building a login system based on checking for the
existence of the user's email address only....

1. Is it ok for me to use IP address to allow user to bypass all login and
registration systems if IP is present in database? I wish to save the user
time....if the IP is not present I will present the LOGIN email screen....

2. I am consideirng using Session variable on each page I wanted I
protected...I think I know how to do this but I am not sure on whether I
should be using the global.asa to handle loggin in or logging out or whether
I should so all the code on the secure page itself.

3. I wish to use a sql server backend to house my tables: tblProspect,
tblProspectPageSelections......is it okay to use the following branching
code to switch between my test and production server with regards the
physical database path as I have multiple sites on our remote server which
need to feed off the same database....I am thinking about something like
this:

If InStr(Request.ServerVariables("SERVER_NAME"), "publicserver.com") > 0
Then
' Set Public Server Paths
Else
' Set Private Server Paths
End If

Can this work?

View Replies View Related

Proxy Cached

We encountered a very strange problem. We host a web site:
www.[our_site].com and a large number of our users belong to an
organization group with central network control and they can only
access our web site through two headquarter proxy servers: x.x.a.7 and
x.x.b.8, which was set in security dept of the group headquarter. The
web site was working fine till recently when those user accessing via
x.x.a.7 all have problem suddently while those accessing via x.x.b.8
have no problem. The users accessing via x.x.a.7 are directed to wrong
page, very slow response, hang on some page or encounter errors, etc.
If they access the same site via another alias, like
www2.[our_site].com which points to the same web server, they will not
have any problem. They do not have problem to access any other web
sites we tried, including our other web sites hosting in the same site,
even the same server. If the users change their ie setting to use other
public proxy server, they will have no problem to access our site.
Strict security policy are applied to the user site, so we cannot ping,
tracert or do any other network testing from user machine. Since user
has no problem to access any other web site, the headquarter security
department wont handle our case and simply think it is our problem.

View Replies View Related

Bypass The Proxy

any one know how can we bypass the proxy with asp code ?
you may know that ther is some bypass proxy codes with Perl and PHP
but I've never see any in asp .
Example of Perl proxy bypass is http://kenby.com and I want to write
such proxy bypass cod with asp

View Replies View Related

Are There Any Issues With ASP And Proxy Servers?

Our website works correctly for 99.9% of customers, however we have one set
of customers who access our website from what appears to be a proxy server
of some kind. i.e. The IP address is always the same no matter where the
location of the computer is.

My site is a framed site, and the specific problem is that a list of links
in one frame will not load a page on another frame. I don't believe this is
a browser compatibily problem. (I wont rule it out though). But there are no
problems as far as I can tell on other peoples computers.

My question is....Is there anything special that needs to be done to make
sure a site works through proxy servers, or is this likly to be some other
problem such as an SSL problem (the whole site is under ssl), browser
incompatibility problem, or just downright dodgy programing on my behalf?

View Replies View Related

Can A Proxy Connection Be Detected?

can a proxy connection be detected when someone is connecting to our web server using a proxy?

View Replies View Related

WGET And Reverse Proxy

We have this portal that accesses content from various places on the web. The portal is SSL secured, so any content that is outside the portal and nonsecure is going to cause an nonsecure error prompt in every page within the portal site.

So, we obviously want to get away from these annoying messages. To do it, we've considered a reverse proxy, and even a tool like WGET... but, WGET can't fetch a complex URL... and reverse proxys seem like they might be a serious pain to set up along side our tomcat server

View Replies View Related

Proxy Configuration Tool - Proxycfg.exe

I wasnt really sure where to put this thread so I have put it in both ASP and DNS forums - i hope this is ok. My problem feels incredibly complicated so Im hoping that someone on one of the forums might know a few things .

Im interested in getting remote data off of a URL using ASP. There is an article about it at the URL below: Code:

View Replies View Related

Using WinHttpRequest To Send Xml Through Proxy => Access Denied

I have a proxy on the intranet, I try to send an xml to an external url, in classic asp, using WinHttp.WinHttpRequest.5.1, but I get access denied from proxy for sending the xml and also The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. Code:

View Replies View Related

Web-based Sql Db Mgr

it appears that my ISP is blocking port 1433 which means i can no longer connect to my sql db on the web. had been using an access project or another program called WinSQL. so i'm forced to go with a web-based solution and i don't really have time to build one from scratch. the host this site is on still hasn't installed the .net framework so i have to go with a classic asp solution.

View Replies View Related

How To Redirect Based On The Url??

I want to do on my site and if anyone can tell me it can/can't be done that would be great. If it can be done, is it difficult or is there already code available and I can just *plugin* the info that pertains to my site? Code:

View Replies View Related

Recorset Based On Some Value

I need to open recordset and select one record based on some value?
I need some script which will select random record based on the some percent or some number from 1-10, for example.

Its banner rotation system i have made, and it select randomly record, but I need some percent or some number(1-10) for selecting recordset based on that number.

banner1 10
banner2 70
banner3 40

...so every will be selected based on value from DB.

View Replies View Related

Xml Based Mp3 Player

i found a flash based mp3 player for my myspace that pulls the playlist from an xml file. my question is this... i want to be able to change the playlist (add, delete songs, change play order, etc...) without having to change the xml. here's my idea and i'm not sure how exactly to do all of it, but let me know if there is an easier way.if i create a db that stores the information i need (filename, song title, and track number) i can create an html form that will allow me to change the track number (i know how to delete and add songs). my question is how to i update the xml file at the same time it updates the db. in other words, how to i send the data in the db to an xml file.

View Replies View Related

Web Based Install

How ca I write a asp page that will handle web based Install? Is it possible
or I need to go for some 3rd party Software for this, If Yes what is the
Best to use with ASP?
My requirement is: I have one Software that I wanted to install in Customer
PC directly from Webpage instead of allowing the user to download the
Software and Install.

View Replies View Related

Based On Temperature

I have dynamic weather on my site based on the users' zipcodes, but the feed takes much too long to load; therefore I would like to see if it is possible to query a site for a temperature only based on zip, and then use an "if...then" to display 5-6 different gif weather images. I know it can be done... www.dogears.net does it. Or if anyone out there has a good source for dynamic weather and or movies that can be used

View Replies View Related

Keyword Based Ads

i want to develop a small application which will generate a list of
product from a database based on a user web page contents. something
like google adsense but not that extensive. any help or resource
available?

any guidelines. i want to use ASP , access or SQL server .

in short a script page, when called, read the contents and search a DB
for products and diplay it .

View Replies View Related

ASP-Based Forum

I have been mostly frequenting the PHP forums but now my job makes it necessary to get my hands dirty with ASP.
I am trying to find a Forum Software (Open Source or Commercial, doesn't matter) that has all the bells and the whistles. The following are some of the major requirements:Integration with existing Site and DB (including migration of data from current forum)
Ability to apply the look and feel of the site (if various parts of the Forum can be broken down to components/panes/boxes/windows that can be included in other site pages as well as customisable through CSS)
If anyone knows of any software that meets these requirements, please do let me know. Additionally, if you have experience in using that software, your opinions on it will be much appreciated. Currently I am going through some forum's that I managed to find through searching in SitePoint (ASPPlayground, Snitz, Web Wiz Guide, IdealBB). If are experienced with these

View Replies View Related

Day-based Web Loader

I am working on a script for a client that will switch a web element every Monday at 0:00:00 time. I have the entire website finished, however I now need to add a VBScript that will rotate between elements ONCE on every Monday.

If I am being too vague, here is an example:

<img src="puzzle1.jpg" />

I now want to rotate through puzzle1.jpg, puzzle2.jpg, puzzle3.jpg up to 12, then start again (a loop), but only make this change once each week on Monday mornings. So, this week it would be puzzle1, then starting Monday, it would be puzzle 2, etc.

I hope I am being clear enough, if I could provide further code, I would, but I am unsure as to how to start.

View Replies View Related

Web-Based Email.

I currently have a web-based email for my site for users. Is there any way that I can make this so that it can be accesable from Outlook Express? It would have to call the database for the emails.I would need it written in ASP.It also needs to be free!

View Replies View Related

Web Based Front End

iis runs on win2k3.i need to have a web-based app that among others does something like this:

1. login - validate against the local user database.
2. user must belong to a certain group (say backup operators group).
3. create a web-based front end to the task scheduler. create, modify, delete schedules.

i dont have a starting point with regards to the three requirements

View Replies View Related

Day Value Based On Month Given

I'm looking for asp functions that can do the following:Based on the Month (& year) given I'd like to find out:

1.) The # of days in that Month
2.) The day of the Week the 1st falls on.

View Replies View Related

Web Based Dopewars

preferably in ASP, but perl would be better than nothing. I have seen one vers which connects through telnet - this isn't what I'm looking for. I'd like it to send html to the client, and hopefully support for logging in and updating high scores etc.

View Replies View Related

ASP Based WIKI

So far I've only found one, and the site for it is down.

View Replies View Related

ASP Based Web Forums...?

like we can put php based forums in our web , so is there any asp forums available for ur web.

View Replies View Related

Run Code Once Based On Date + Asp

i was wondering if anyone could tell me how to run code once based on date. I have an application that i want to update a database based on the particular month. Any ideas?

View Replies View Related

New ASP Page Based On Template

As creating folders after a form submission is quite easy (as pointed out in my last post - thanks again) I was wondering If it was also possible to create a new permanent ASP page based on a template .

All that needs to be changed is the title of the page and the file name. However the new page must be a copy of the template (only with these changes in it.

View Replies View Related

ASP Based Tree Script

I really need a Classic ASP based Tree Script in which we can add,edit,delete parent,child or sub-child name from the tree

View Replies View Related

Date Based Criteria

i'm looking to select records based on date, the database
stores the date as mm/dd/yyyy time am/pm ie: 08/11/2004 2:42:28 PM and
unfortunately the field is called date

this much I know if i want to select based on date:

select from table where [date]=

it's my understanding that i need to put the name of the date field in
[] in order to prevent it from confusing it with functions etc...
however my problem is this

how do i get it to select records from the month of december i have
tried [date]='12/*/2004' and [date]='::12/*/2004::' and many other
variants that i have read about on various web sites, but it never seems
to work once again the answer is probably not as complicated as i
believe it to be,

View Replies View Related

ASP-based Newsgroup Reader

Does anyone know of any ASP-based newsgroup reader (probably based upon
ASPNNTP)? I'm looking for a full-featured reader that I can host, similar to
Google Groups.

View Replies View Related







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