Sponsored Content
Full Discussion: Redirect to add context root
Top Forums Web Development Redirect to add context root Post 302483487 by DGPickett on Monday 27th of December 2010 09:39:05 AM
Old 12-27-2010
  • We have to release it form the loop with a negative? Well, sometimes that is the only way, unless you change the host to a different pseudonym, such as server.foobar-dev, and then what do you do for URL typing users that pop over to http://server.foobar-dev/ ?
  • Does the requestor want rewrite of the whole subtree (not a bad idea, but once in the sub-tree, the sub-tree pages might keep you there, but often this is a way to merge webservers and you do want all).
  • Depending on the exact terms, sometimes it is better to tighten up the left end of the filter, so, assuming egrep regex are operating here, "(^www.|^)(foobar-dev\.).
  • I suppose a URI "/some/context" is taken care of by the all-dirs-end-in-/ rule that redirects to URI "/some/context/".
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Context Switching

I know that this is a relative question but can someone give me an idea of what would be considered a high number of context switches? I am running vmstat and show a cs value of between 5000 and 6000 on a 4 processor system. How can I deduce if this number is high or not? Also, the timeslice... (2 Replies)
Discussion started by: keelba
2 Replies

2. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies

3. Solaris

trying to add .profile for root

I am trying to add a .profile for root I cd to / do vi .profile and get /var/tmp/ExGXaaqa Read only file system... What does this mean? (4 Replies)
Discussion started by: liven
4 Replies

4. Shell Programming and Scripting

keep context in awk

here is a data file. ------------------------------------- KSH, CSH, BASH, PERL, PHP, SED, AWK KSH, CSH, BASH, PERL, PHP, BASH, PERL, PHP, SED, AWK CSH, BASH, PERL, PHP, SED, KSH, CSH, BASH, PERL, PHP, SED, AWK ------------------------------------- My desired output is... (2 Replies)
Discussion started by: VTAWKVT
2 Replies

5. UNIX for Dummies Questions & Answers

Redirect from the Root?

Hello again, What im trying to do is to redirect output from a cmd, from the root, to a file. But i guess thats illegal. I just wanted to know the file size of all files in my system. So: cd / du -k but i need to ouput this information to a 'sysfile.txt' file, or what... (2 Replies)
Discussion started by: oxoxo
2 Replies

6. Solaris

add PATH as root

Sorry this maybe a dumb one, but I am root and want to add something to my PATH. Is the right place to do it here: /usr/dt/config/dtspcdenv ? If so, after I add it, how do I source it? Neither "source <file>" nor ". <file>" work. How does the above file work... is there another... (5 Replies)
Discussion started by: steve701
5 Replies

7. UNIX for Dummies Questions & Answers

Regarding context to add in a file

Hi Folks, I have one query is that I can reach to a location of a file named Integration_Config_3.properties through putty cd /usr/local/pos/jlan/config/byStore/il ls -ltr I can open this file in vi editior also vi Integration_Config_3.properties But now my query is I want to add the... (3 Replies)
Discussion started by: SankalpS
3 Replies

8. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

9. UNIX for Dummies Questions & Answers

How to add path to root user

I am trying to add path for root. In /etc directory there is no .bash_profile file it has only profile file can any one say how to add path for root user ? is it possible to add path in profile file for root user. (18 Replies)
Discussion started by: elango963
18 Replies

10. Shell Programming and Scripting

Questions related to if in awk context and if without awk context

I wrote this code, questions follow #! /bin/bash -f # Purpose - to show how if syntax is used within an awk clear; ls -l; echo "This will print out the first two columns of the inputted file in this directory"; echo "Enter filename found in this directory"; read input; ... (11 Replies)
Discussion started by: Seth
11 Replies
HTTPFS2(1)																HTTPFS2(1)

NAME
httpfs2 - mount a file from a http server into the filesystem SYNOPSIS
httpfs2 [OPTIONS] URL FUSE-OPTIONS httpfs2_ssl [OPTIONS] URL FUSE-OPTIONS DESCRIPTION
httpfs2 is a FUSE based filesystem for mounting http or https URLS as files in the filesystem. There is no notion of listable directories in http so only a single URL can be mounted. The server must be able to send byte ranges. OPTIONS
-c console Attempt to use the file ior device console for output after fork. The default is /dev/console. -f Do not fork, stay in foreground. -t timeout Use different timeout for connections. Default '30's. URL The url should specify the protocol as http or https, and it may specify basic authentication username and password. Currently special characters like whitespace are not handled so the URL cannot contain them. See a sample URL below: http://user:password@server.com/dir/file FUSE-OPTIONS These options are passed to the FUSE library. At the very least the mount point should be specified. EXIT STATUS
0 Successfully connected to the server other Failure (url parsing error, server error, FUSE setup error). Some FUSE errors may happen only after the process forks so they will not be returned in exit value. BUGS
The process can be stopped by typing ^Z on the terminal which may not be desirable under some circumstances. AUTHORS
Miklos Szeredi <miklos@szeredi.hu> hmb marionraven at users.sourceforge.net Michal Suchanek <hramrach@centrum.cz> COPYING
Free use of this software is granted under the terms of the GNU General Public License (GPL). 03/13/2010 HTTPFS2(1)
All times are GMT -4. The time now is 07:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy