9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My script test.sh requires an argument and it could be present on a list of servers under a folder with name either in upper or lower case like below:
For example:
i want a generic command for calling the test.sh script and pass one argument
Below is what i tried but it is failing ... (10 Replies)
Discussion started by: mohtashims
10 Replies
2. Web Development
Hi,
I have this string that I need to match and redirect to an actual live url.
I have tried what I know and it won't match. This is the url I want to match.
http://www.abc.com/smf_test/?topic=191.0;wap2
here is my attempt at a pattern match
RewriteCond %{REQUEST_URI} ^/smf_test/$... (0 Replies)
Discussion started by: sharingsunshine
0 Replies
3. Web Development
Hi Guys
I have a web a site at the following directory
/var/www/
the website is containing a lot of sub directories.
/var/www/mywebsite/folder1
/var/www/mywebsite/folder2
/var/www/mywebsite/folder3
I would like to block all the website expect one user ex: user1 password1
who can see... (3 Replies)
Discussion started by: molwiko
3 Replies
4. Web Development
I have the following directive in my .htaccess:
#RewriteRule ^mozrank/?$ "http://www.seobook.com/#a_aid=dh"
The problem is that the redirect is going to
http://www.seobook.com/%23a_aid=dh
How to preserve the # when redirecting? (2 Replies)
Discussion started by: rlopes
2 Replies
5. Shell Programming and Scripting
Hi, all:
My folder structure is like:
What I'm expecting to realize is to have my folders look like:
How to realize it?
Cheers
Pei (0 Replies)
Discussion started by: jiapei100
0 Replies
6. UNIX for Advanced & Expert Users
Hi,
I would like to use htaccess 301 redirect with URL hiding.
Ex:
when browse the website 'abc.com' it should show the contents of the page 'xyz.com/start/index.html' but in addressbar should show the domain 'abc.com'. I know it works with html URL frame rewrite. But my question is it... (0 Replies)
Discussion started by: chandranjoy
0 Replies
7. UNIX for Advanced & Expert Users
I am looking to forward the following with masking via my .htaccess file:
www.mywebsite.com/origpage www.mywebsite.com/newpage
I do not want to forward the entire site, just this one page with masking. Neither page has an extension. I am able to forward with .htaccess - but it does not mask the... (1 Reply)
Discussion started by: globalnerds
1 Replies
8. Shell Programming and Scripting
hi,
need help in writing a script in perl.
requirement :
1. Search for the files in a particular folder
2. search for a string in the file names
3. Delete the file which matches the string.
Ex: if the folder is C:\TEST
and the folder has 5 files like
2009ABCG.txt
2009MNO.txt... (2 Replies)
Discussion started by: adityamahi
2 Replies
9. UNIX for Dummies Questions & Answers
What is the purpose (function) of the following upper level directories: -
/bin
/dev
/etc
/home
/mnt
/media
/sbin
/tmp
/var
I have encountered these, but as i said, i am new to unix and i am not quite sure what they are and what their fucntions are.
Any help would be greatly... (2 Replies)
Discussion started by: carlvernon
2 Replies