which access right should set in my webpage index.html ?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users which access right should set in my webpage index.html ?
# 1  
Old 11-13-2005
which access right should set in my webpage index.html ?

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!!
# 2  
Old 11-13-2005
Why do you have to give an executable permission to a plain HTML file? You only need executable permission for CGI scripts! Smilie

For a script, you may of course do a

chmod a=rx script

to give it all read/execute permissions.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Running php index.php as shell in webpage

so i have a bit of a unique situation. i have an encrypted index.php file that that can't be run the normal way that a web browser would run it. if it is run the normal way, the php script will show only gibberish on the web browser, instead of the actual php code. when run from the command... (8 Replies)
Discussion started by: SkySmart
8 Replies

2. Shell Programming and Scripting

Attach multiple index.html file using mutt

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

3. UNIX for Dummies Questions & Answers

Trying to execute a script to populate all directories with index.html

Hello, I am trying to create a php file that would copy given index.html file to all directories (and subdirectories) on my site that don't have one. This is to prevent directory listings on nginx. This index.html file is placed in the /populate directory and looks like this: <html> <head>... (7 Replies)
Discussion started by: teletubby
7 Replies

4. Web Development

Get command-output to webpage from solaris-10-OS invoked from html webpages

Hello, I am a middleware administrator and as an admin I need to monitor a number of middleware instances (weblogic servers). But since it is a not the forum for that i would like to put my problem in simple terms and need guidance on that. I need to use apache webserver on Solaris 10 zones to... (3 Replies)
Discussion started by: poga
3 Replies

5. Infrastructure Monitoring

Access Nagios webpage on 2 interfaces.

Dear All, I have Nagios running on a PC which has two ethernet cards, eth0 and eth1. Each interface is on a different network, like eth0 is on n/w 10.111.X.X and eth1 is on n/w 100.1.X.X (recently configured). The Nagios webpage is accessed remotely by typing 10.111.X.X/nagios3/ i.e. via the... (0 Replies)
Discussion started by: salim100569
0 Replies

6. UNIX for Dummies Questions & Answers

Access Webpage in UNIX

Dear All, I do not know anything from UNIX and its systems. I have a course on bioinformatics and they taught us a little about the UNIX. They also provided a userID and password for the web server which I can access using SSH. now, with A LOT OF EFFORT, I wrote a small index.html file, saved it... (1 Reply)
Discussion started by: dreamer0085
1 Replies

7. Shell Programming and Scripting

Extract urls from index.html downloaded using wget

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

8. Shell Programming and Scripting

Linux Script create index.html file

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

9. Shell Programming and Scripting

Run shell commands via HTML webpage/button?

Hey guys, I got a issue here... we have a development box and a UAT box that our webmasters use, they do the webpage development on the development box and and save changed files to a particular directory on the dev machine. At a certain time of the day a cronjob kicks off and the... (3 Replies)
Discussion started by: zeekblack
3 Replies

10. Web Development

New SEO Experiment http://www.globalfactbook.com/index.html

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
Login or Register to Ask a Question