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
LEARN ABOUT DEBIAN
kwstyle
KWSTYLE(1) General Commands Manual KWSTYLE(1)
NAME
KWStyle - Style checker for source code
SYNOPSIS
KWStyle
DESCRIPTION
This manual page documents briefly the KWStyle command.
You can find information in the KWStyle manual page and on the KWStyle web page http://public.kitware.com/KWStyle.
OPTIONS
[ -d ]
= Specify a directory
[ -R ]
= Associated with -d recurse through directories
[ -v ]
= Display errors
[ -qv ]
= Display less information
[ -lesshtml ]
= Display less HTML
[ -vim ]
= Generate errors as VIM format
[ -msvc ]
= Generate errors as MSVC format
[ -gcc ]
= Generate errors as GCC format
[ -html [filename] ]
= Generate the HTML report
[ -cvs ]
= Using KWStyle as a cvs precommit script
[ -exporthtml ]
= Export the HTML report online
[ -xml [filename] ]
= Read a XML configure file
[ -exportxml [filename] ]
= Write output the report as a simple XML
[ -o [filename] ]
= Overwrite rules file
[ -D ]
= Specify a file listing all the directories
[ -B [filename] ]
= Specify the base directory of the file
[ -b [filename] ]
= Specify a black list of words
[ -dart <filename> [maxerror] [group] ]
= Write out files to be send to the dart server
With: maxerror (Default = -1)
With: group (Default = 0)
[ -kwsurl <url> ]
= Specify the base url of the KWStyle HTML report
[ -fix ]
= Write out a fixed version of the parsed file
<infile>
= input filename
SEE ALSO
HTML KWStyle Documentation Page at http://public.kitware.com/KWStyle/documentation.htm
AUTHOR
Julien Jomier
This manual page was written by Mathieu Malaterre <malat@debian.org> for the Debian GNU/Linux system (but may be used by others).
30 July 2009 KWSTYLE(1)