07-12-2005
In httpd.conf I believe that if you set DocumentRoot to
www.example.org/www/pub and then set DirectoryIndex to what documents you will allow for the default such as index.html, index.php, index.htm, etc that should take care of the problem. Of course if you have documents in sub directories that you want to display then those sub directories will be displayed. You could then use cbkihong's solution.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
How can I enable encoding of special characters present in URL?
eg
If the URL is
http://127.0.0.1/test.cgi?param1=test & test co
it shouldbe encoded to
http://127.0.0.1/test.cgi?param1=test%20%26%20test%20co
Thanks and Reagards,
uttam hoode (3 Replies)
Discussion started by: uttamhoode
3 Replies
2. Cybersecurity
Hello.
I have scenario where a Client send request to Server1.
Server1 send request to Server2.
Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client.
Trying to use APACHE proxy...
Anyone can help?
What to download / configure / ...?
Thank you for your help. (1 Reply)
Discussion started by: ampo
1 Replies
3. Web Development
Hello.
I have scenario where a Client send request to Server1.
Server1 send request to Server2.
Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client.
Trying to use APACHE proxy...
Anyone can help?
What to download / configure / ...?
Thank you for your... (2 Replies)
Discussion started by: ampo
2 Replies
4. Web Development
I'd like to translate a friendly url such as:
http://www.xxxyyyzzz.com/page/12345678/
to:
http://www.xxxyyyzzz.com/page/12/34/56/78/
Seems simple enough, but I cannot figure out how. Any one done this before? (2 Replies)
Discussion started by: markericksen
2 Replies
5. Shell Programming and Scripting
i need help on redirecting apache conf file
i want redirect everything to www.example.com/home
example if i type a url
www.example.com/home/text1
i need that redirected to www.example.com/home (0 Replies)
Discussion started by: shehzad_m
0 Replies
6. Web Development
Hello,
I have a situation where I am trying to use Apache's RedirectMatch directive to redirect all users to a HTTPS URL except a single (Linux) user accessing there own webspace. I have found a piece of regular expression code that negates the username:
^((?!andy).)*$but when I try using it... (0 Replies)
Discussion started by: LostInTheWoods
0 Replies
7. Web Development
Hi All,
i'am facing a problem with urls that don't have a filestructure under DocumentRoot.
A URL like http://mydomain.com/applicationrew/Structure1/Structure2/some?parameter=key¶meter1=key1
Should be rewritet to something else.
Now i defined a Location like
<Location ~... (3 Replies)
Discussion started by: wuschelz
3 Replies
8. UNIX for Advanced & Expert Users
I need help in apache url redirection:
I have added the below command in httpd.conf and it is working fine.
Redirect http://xyz.com/site/homehttp://abc.com/site/home
Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied
For... (0 Replies)
Discussion started by: raghur77
0 Replies
9. Web Development
I need help in apache url redirection:
I have added the below command in httpd.conf and it is working fine.
Redirect http://xyz.com/site/homehttp://abc.com/site/home
Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied
For... (0 Replies)
Discussion started by: raghur77
0 Replies
10. Web Development
Hi,
Googled around but I couldn't find anything similar. I'm looking to do the following in apache..
if a user comes into the following URL.
http://www.example.com/some/thing.cid?wholebunch_of_stuff_here
keep the URL exactly as is BUT add &something at the very end of it.
thanks in... (1 Reply)
Discussion started by: kmaq7621
1 Replies
HLINS(1) General Commands Manual HLINS(1)
NAME
hlins - insert url's into html documents
SYNOPSIS
hlins [options] [infile]
DESCRIPTION
hlins is a program that inserts hypertext links into html documents, according to one or several data bases associating addresses (url's)
to names. hlins is designed for inserting links for persons: It knows about abbreviations of first and middle names and tolerated dropping
of the last part of a composite last name.
If no file argument is given then input is taken from stdin; when no output option (see below) is given then output goes to stdout.
For a complete description, see the documention in html format.
OPTIONS
hlins follows the usual GNU command line syntax, with long options starting with two dashes (`--').
-o, --output-file file
Write to file instead of standard output
-h, --help
Show a summary of options.
-v, --version
Show the version of the program.
-q, --quiet
Surpress diagnostic output.
-db, --data-bases files ...
Use files ... as data bases
-m, --modify files ...
Dont't act as filter but perform in-pace modifications of files.
-R, --recursive
Recursively descend into directories and act on all files with names ending on .html.
-td, --tmp-dir dir
Use directory dir to create temporary files.
--db-to-html
List the address data bases in HTML format to stdout.
ENVIRONMENT
TMPDIR default directory for creating temporay files.
VERSION
This manual pages describes version 0.39.
SEE ALSO
The full documentation with examples should be available in /usr/share/doc/hlins/.
See also the hlins home page http://www.lsv.ens-cachan.fr/~treinen/hlins/.
AUTHOR
Ralf Treinen <treinen@debian.org>.
July 25, 2000 HLINS(1)