Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8428549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:05:16+00:00 2026-06-10T05:05:16+00:00

I have a small system ( Coldfusion8, MySQL 5.0.88 ), which allows users to

  • 0

I have a small system (Coldfusion8, MySQL 5.0.88), which allows users to skin the main website depending on their prefrences.

This works all well, except for the URL still being ugly like so:

  www.my_site.com/index.cfm?user=123456789

I now want users to have their own URL displayed and have read into vhost (I’m running Apache) on how to do this. I’m changing skins depending on the id provided in the URL. If I now setup my system to display:

  wwww.users_selected_url.com

versus the above, I will have no way to check for the URL ID. I’m using this ID check a fair bit throughout the application to customize the page layout when rendering the page with Coldfusion.

Question:
When will the URL be reformatted? Will the page being loaded still be requested with the original URL, so Coldfusion can do it’s stuff and only the page displayed to the user will be with his customized URL? How about if I also use URL-rewriting?

Thanks for some info!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:05:18+00:00Added an answer on June 10, 2026 at 5:05 am

    You need to have a vhost setup to accept requests for the wwww.users_selected_url.com host, and the DNS needs to point to your server. In the vhost config, you can use the rewrite module to change the URL to /index.cfm?user=123456789, and this rewriting happens before the URI is handed off to cold fusion. You need to add this to your vhost config:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www\.)?users_selected_url.com$ [NC]
    RewriteRule ^/$ http://www.my_site.com/index.cfm?user=123456789 [L,P]
    

    This uses mod_proxy to proxy the request to http://www.my_site.com/index.cfm?user=123456789 when someone goes to http://www.users_selected_url.com/ in their browser.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small, simple C# application which updates an icon in the system
Basically I have a small 'invoicing' type system where I have a MySQL table
I have a small php system i created for myself. This system contains a
On a small embedded system project we have some code which we would like
I have developed a small download system in PHP, where files are downloaded through
I currently have a small text game I've written in Java that utilizes System.out.print();
I am going to be making a small user system but I have questions.
I have written a small utility to collect system data and output it to
Iam working on small booking room system. In my solution I have a Reservation
I am designing a Point-Of-Sale system for a small shop. The shop just have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.