CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to - truncated/redirect urls?

Print topic Send  topic

Author Message
david-h

Posts: 29
Posted: 04/16/2009, 3:07 AM

Hi All

CSS 3.0.2.6
ASP/templates
Win 2003

I have a how to question:

How are redirects set up on a Win server? My client has advertising urls like this for example http://www.mydomain.com/mypage

which then has to redirect to the full url e.g:
http://www.mydomain.com/my_directory/mypage.asp

I'm sorry, I know it's not strictly a CSS issue, but it may help someone (like me!) someday and I can't seem to find anything about how to achieve it.

I could sort it in 2 mins. using .htaccess on a 'proper' server! ;-)

Kind regards

David

View profile  Send private message
Jan K. van Dalen
Posted: 04/16/2009, 4:47 PM

If that info is on a db ... you could use attributes

"david-h" <david-h@forum.codecharge> wrote in message
news:649e7035190f2d@news.codecharge.com...
> Hi All
>
> CSS 3.0.2.6
> ASP/templates
> Win 2003
>
> I have a how to question:
>
> How are redirects set up on a Win server? My client has advertising urls
> like
> this for example http://www.mydomain.com/mypage
>
> which then has to redirect to the full url e.g:
> http://www.mydomain.com/my_directory/mypage.asp
>
> I'm sorry, I know it's not strictly a CSS issue, but it may help someone
> (like
> me!) someday and I can't seem to find anything about how to achieve it.
>
> I could sort it in 2 mins. using .htaccess on a 'proper' server! ;-)
>
> Kind regards
>
> David
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
Oper


Posts: 1195
Posted: 04/19/2009, 8:18 PM

That is Called URL Rewrite in Linux its quiet easy.

in Windows side you need aplicaition that will do that for you PORT80 and other

for IIS7 its part of the Windows Server8 URL Rewriting


also people that only has control over the server could trick on IIS
using 401-404 error (a pain depend on app)
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
david-h

Posts: 29
Posted: 04/20/2009, 10:23 AM

Hi Jan K. and Oper

Thanks for your kind advice.

Yes I know, it's so much easier on Linux ;-)

But I found a solution - may be a useful tool for others - but you need control over the iis box:

http://www.helicontech.com/isapi_rewrite/

I downloaded and installed the application and it worked right away, straight out of the box, very sweetly. I only need to generate simple url rewrites, so used the Lite version which is FOC.

Kind regards

David
View profile  Send private message
Oper


Posts: 1195
Posted: 04/22/2009, 5:51 AM

we have used Heli, work perfect, but keep in mind that the freeware version
run Server wise.

we are trying to migrate top 2008 few server to try out URL rewrite in IIS7

its funny that URL rewrite is in Linux since 1997


Quote david-h:
Hi Jan K. and Oper

Thanks for your kind advice.

Yes I know, it's so much easier on Linux ;-)

But I found a solution - may be a useful tool for others - but you need control over the iis box:

http://www. helicontech .com/isapi_rewrite/

I downloaded and installed the application and it worked right away, straight out of the box, very sweetly. I only need to generate simple url rewrites, so used the Lite version which is FOC.

Kind regards

David

_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.