Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
force url
Home
ColdFusion
Discussions
force url
0
Upvote
force url
Boogiebaby2
New Here
,
/t5/coldfusion-discussions/force-url/td-p/392943
Oct 03, 2007
Oct 03, 2007
Copy link to clipboard
Copied
Hi,
I have set up a site that needs to look in a folder... if someone types the domain for ex
www.domain.com.au
i need it to force the domain to be
www.domain.com.au/folder
is that something i can set up in the application.cfm file?
TOPICS
Advanced techniques
Views
222
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Reply
1
Jump to latest reply
JeremysDad
New Here
,
/t5/coldfusion-discussions/force-url/m-p/392944#M35436
Oct 04, 2007
Oct 04, 2007
Copy link to clipboard
Copied
LATEST
You could try something link:
<cfif CGI.Path_Info DOES NOT CONTAIN "folder">
<cflocation url="www.domain.com.au/folder">
</cfif>
or you could use IIS if you have access to the server (and it is using Windows). Not sure how Linux works.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide