04-03-2013
I know you don't want shell script, but that's what you have. You planted shell script inside PHP and expected it to run, but naturally it didn't work since PHP is not shell.
I don't think it'd work even if you used the right language, since your web server quite probably doesn't have permissions to write to all those folders.
robots.txt is what is traditionally used to prevent robots from indexing something.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a webpage, http://my.dns.com/~zp523/index.html,
I want all people to have read and execute privileges. I want to extend it with execute privilege. Which command should be used in chmod?
is it only give read(r) & execute(x) parameter in 'chmod ??? index.html'
thk a lot!! (1 Reply)
Discussion started by: zp523444
1 Replies
2. Web Development
Hi,
I found out the CIA's worldfact book is has an open copyright, anyone can use it as long as we don't use the CIA shield.
So, I set up an experimental SEO site to see what will happen in the search engines over time:
The Global Factbook
Please click above and let's see if we can... (1 Reply)
Discussion started by: Neo
1 Replies
3. Shell Programming and Scripting
Hi,
I am trying to write a shell script which execute certain commands within certain folders in each user's home directories
I started off with a bash script -
#!/bin/csh -f
su -l cvsusr1
cvs -d /home/cvsadm/repository status
But the shell script finishes immediately after... (1 Reply)
Discussion started by: rupa_lahiri
1 Replies
4. Shell Programming and Scripting
I want to execute a shell script when clicking on an html link. I want the output of the script to be shown on the webpage. Whats the best way to achieve this? (6 Replies)
Discussion started by: streetfighter2
6 Replies
5. Shell Programming and Scripting
I need a script that can do this:
A script that searches all directories and subdirectories for .html files
When a .html file is found it creates a index.html file in that folder.
It then edits the index.html file and inserts links to all of the .html files that are in that folder into the... (5 Replies)
Discussion started by: seashell11
5 Replies
6. Shell Programming and Scripting
Hi,
I need to basically get a list of all the tarballs located at uri
I am currently doing a wget on urito get the index.html page
Now this index page contains the list of uris that I want to use in my bash script.
can someone please guide me ,.
I am new to Linux and shell scripting.
... (5 Replies)
Discussion started by: mnanavati
5 Replies
7. UNIX and Linux Applications
hi there
im currently in the process of creating a website for use basically within our org. im using a os x machine and installed MAMP - which includes Apache, mysql... the site will be used by techs to primarily install pkgs files onto os x devices. i would like to have buttons or hyperlinks... (2 Replies)
Discussion started by: sheshe
2 Replies
8. Shell Programming and Scripting
Hi Guys,
I've got a script that runs and collects statistics from one of our machines and outputs the data into a csv file. Now, that script runs fine and I managed to create another one (with a lot of help from this forum!!) to trim the csv file down to all the data that I need, rather than all... (9 Replies)
Discussion started by: jimbob01
9 Replies
9. Shell Programming and Scripting
Hi
I want to attach multiple index.html, index_v2 file using mutt command
basically i want first index.html and then index_v2.html file as a body in email , these html files are test reports
I am using following command , but it is over writing , any help appreceated ;)
mutt -e... (2 Replies)
Discussion started by: madankumar.t@hp
2 Replies
10. UNIX for Beginners Questions & Answers
Good Afternoon Team -
I"m asking for assistance on a piece of code to populate two values in an XML file. I have it working perfectly using CScript for DOS, but I have a need to do that same process in a Linux environment.
Here is the XML I need to modify:
<?xml version="1.0"... (5 Replies)
Discussion started by: SIMMS7400
5 Replies
AMPLE(1) User Manual AMPLE(1)
NAME
ample - Ample MP3 server
SYNOPSIS
ample [OPTION] [PATH...]
DESCRIPTION
ample Ample is an MP3 server that allows you to listen to your music that can be stored locally or remotely. It does not intend to support
mixing, radio shows etc. It's just an easy way to listen to your MP3's everywhere using the "open location" features already present in
XMMS, WinAmp and Media Player. After installing, configuring and starting ample, try connecting to http://server:1234/ with the "open
location" feature of your favourite MP3 player or http://server:1234/index.html with your favourite web browser.
OPTIONS
-p NUM --port=NUM
Listen to TCP port NUM, default is 1234.
-o --order
When a list of files is requested, play them in alphabetical order.
-c NUM --clients=NUM
Allow a maximum of NUM clients to be connected at the same time.
-n --norecursive
Don't automatically index files in subdirs of the directories being indexed
-f FILE --conffile=FILE
Use FILE as config file instead of the default /etc/ample/ample.conf. See ample.conf(5) for details.
-m FILE --htmlfile=FILE
Use FILE as HTML template instead of the default /etc/ample/ample.html. See ample.html(5) for details.
-h --help
Display help message and exit.
-d [NUM] --debug[=NUM]
Print debug messages, a higher value of NUM means more detail.
-t --trace
Disables forking and backgrounding, useful for debugging.
-v --version
Display version information and exit.
-i --pidfile [PIDFILE]
Write a PIDFILE to handle ample as a daemon
[PATH...]
These are path(s) to files or directories that Ample can use to populate it's list of MP3's. If PATH is a directory, all files (pos-
sibly recursively, see the -n option above) will be added. If PATH is a regular file ending with .mp3 it will be added and if it is
a regular file ending with .m3u (MP3 playlist) the files listed in it will be added.
FILES
/etc/ample/ample.conf
The default config file (another file may be used, see the -f option above). See ample.conf(5) for further details.
/etc/ample/ample.html
The default HTML template file (another file may be used, see the -m option above). See ample.html(5) for further details.
BUGS
Of course totally bugfree or your money back :-)
AUTHOR
David Hardeman <david@2gen.com>
SEE ALSO
ample.conf(5), ample.html(5)
Ample JANUARY 2002 AMPLE(1)