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

  • Home
  • SEARCH
  • 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 114569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:52:54+00:00 2026-05-11T02:52:54+00:00

I’m creating a small application on an embedded device that has a boa web

  • 0

I’m creating a small application on an embedded device that has a boa web server running on it. I’m creating a web application in a mixture of plain HTML pages and Perl scripts to interface with the main application. Is there a way to hide the fact that some of the pages are being served out of the cgi-bin on the device?

What I have now are the following URLs.

  • http://localhost/home.html
  • http://localhost/cgi-bin/config.pl
  • http://localhost/cgi-bin/control.pl
  • http://localhost/info.html

What I would greatly prefer would be:

  • http://localhost/
  • http://localhost/config/
  • http://localhost/control/
  • http://localhost/info/

with the above URLs taking me to the appropriate index.html or index.pl document. Is there some combination of file structure and server settings that will enable this behavior?

I’ve searched Google for this, but as you can imagine I’m getting pages and pages of search results with ‘cgi-bin’ in the URL. I’m hoping someone here has done this before.

EDIT: I should mention that I know how to do this for plain HTML pages by making separate folders in my web root, all with index.html pages. My problem is in getting this type of solution to work with .pl or .cgi files in the cgi-bin directory.

  • 1 1 Answer
  • 2 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. 2026-05-11T02:52:54+00:00Added an answer on May 11, 2026 at 2:52 am

    Boa unfortunately doesn’t appear to have any type of mod_rewrite options available to it, so you’re limited in what you can do to rewrite a URL. From the boa docs here are the options you do have available:

    Redirect, Alias, and ScriptAlias

    Redirect, Alias, and ScriptAlias all have the same semantics — they match the beginning of a request and take appropriate action. Use Redirect for other servers, Alias for the same server, and ScriptAlias to enable directories for script execution.

    Redirect

    allows you to tell clients about documents which used to exist in your server’s namespace, but do not anymore. This allows you tell the clients where to look for the relocated document.

    Alias

    aliases one path to another. Of course, symbolic links in the file system work fine too.

    ScriptAlias

    maps a virtual path to a directory for serving scripts.

    Based on that you might try ScriptAlias or Alias, or even a symlink to a ‘nicer’ URL. Unfortunately since I don’t have Boa available here I can’t test the options to tell you more specifically what to try.

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

Sidebar

Ask A Question

Stats

  • Questions 108k
  • Answers 108k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer From the Perldoc page on sleep: For delays of finer… May 11, 2026 at 9:12 pm
  • Editorial Team
    Editorial Team added an answer The quick and dirty way to do this is to… May 11, 2026 at 9:12 pm
  • Editorial Team
    Editorial Team added an answer I can't reproduce your problem. I'm using Oracle 10.2.0.3.0 with… May 11, 2026 at 9:12 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.