CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
hidding the URL


New User

May 10, 2017, 9:54 PM

Post #1 of 3 (1808 views)
hidding the URL Can't Post

after my script runs the url on top looks like this how can I make it look like this or

I try working with the .htaccess file but I'm new at this and I keep gettin a 500 error.

Thanks in advance

Veteran / Moderator

May 11, 2017, 4:03 AM

Post #2 of 3 (1798 views)
Re: [markaa] hidding the URL [In reply to] Can't Post

We don't have a crystal ball, we can't help you if you don't see our script. Please show your script.

New User

May 11, 2017, 7:27 AM

Post #3 of 3 (1795 views)
Re: [Laurent_R] hidding the URL [In reply to] Can't Post

This is the code in the perl which is working and printing to the screen but end up with the url

## Display the HTML file
print "content-type: text/html\n\n";
print <<EndOfHTML;

in the .htaccess file I have the following code

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $ [NC,L,R=301]

also tryed this

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^confirmation([a-zA-Z0-9_-]+)$ cgi-bin\




Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives