Ubuntu Servers :: Edit Index.html File With Winscp (SSH)

Mar 4, 2011

Whenever I try to edit my index.html file with Winscp (SSH), it says I don't have the permission to do so. Is there anyway I can change that?

View 4 Replies


ADVERTISEMENT

Software :: Edit Index.html File Of Apache Web Server

Aug 16, 2010

Do I need to restart the webserver if I make any change in the file index.html? Or should the changes get reflected when I open the page again without restarting the service?

View 3 Replies View Related

Fedora Servers :: Firefox Can't See Apache Index.html File

Aug 25, 2011

My setup is two laptops connected by crossover cable. One runs Windows xp the other Fedora 13. Neither is connected to internet. I'm using a subnet of 192.168.1.x On Fedora eth0 is up, apache runs because it creates pidfile. Everything pings fine. Windows xp ip pings fine from command line. Gave Windows xp a static ip of 192.168.1.1 mask 255.255.255.0 and gateway 1.2, same as eth0. xp says it sees the server. eth0 is up.

DirectoryIndex looks at index.html. I created that file with very simple code and put it in document root. Document root permissions are 755. Access_log 770. Error_log 644. Apache User 755. Listen 80 When I type the ip for eth0 (192.168.1.2) into firefox, firefox gives me an error message - can't find server. The connection status says its connected.

The error log includes a line: [warn]./mod_dnssd.c:No services found to register I don't know what this means. Apache is not writing to access_log. When I cat the path to access_log I get nothing, then a command prompt. I'm looking for the part I'm missing that will let Apache serve that index.html file to firefox so I can see how my code looks to firefox as I go.

View 6 Replies View Related

Ubuntu Servers :: Can't Edit The HTML File?

Oct 4, 2010

I installed apache and when i go to my 127.0.1.1 ip i see the welcome page. I found the directory where the html is located (var/www/index.html but i cannot edit the file. what is going on here? why cant i edit the HTML file?

View 1 Replies View Related

Ubuntu Servers :: Get CGI Script To Run Instead Of Index.html?

Jan 4, 2010

I have a ubuntu 8.04 server running apache2 and would like to allow a CGI script to be executed when visitors come to my site.The purpose of this is to determine which browser the visitor is using and redirect them to the relevant version of the site.

View 9 Replies View Related

Ubuntu Servers :: Index.html Not Displaying On Apache2?

May 26, 2011

I'm having a bit of trouble getting my index.html to display. when i use [URL] and type in my dyndns url i just get "index of /" and not the index.html page

ive got a index.html in var/www and home/gav/public_html and set chmod -R 755 to the index.html

and still no joy....

gav@lapfrog:/etc/apache2$ gksudo gedit httpd.conf
Userdir public_html
Options +Indexes
Options All

[Code]....

View 7 Replies View Related

Ubuntu Servers :: Apache - Index.html Suddenly Became Blank Page

May 20, 2010

Today, the power was suddenly cut off in my house, then my home Ubuntu Server restarted after the power on, but when I use my laptop to view my wesite, the index.html suddenly became blank page, I did clear the firefox cache, doesn't work, still blank, and I changed browser, to seamonkey, the index.html still was blank, so, I am sure that the problem is coused by the server, and then, I put the index.html file to a subdirectory, which under the /var/www/home/index.html, and then I put the address < [url] > ,then,I can view my website the main page index.html.

View 2 Replies View Related

General :: Change The Index.html File?

Jul 1, 2010

I just installed linux. How can I change the index.html file?

my dir is var/www/index.html

it doesnt allow me to delete it the index.html (permission denied) I can't move a file into it either. (permission denied)

View 7 Replies View Related

Programming :: Script To Create Index.html File?

Sep 25, 2010

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 body. If no .html files are found, it searches for folders. It then creates a index.html file with links to all of the folders.

View 4 Replies View Related

Ubuntu :: Build Index.html Into A Full Html Page

Mar 9, 2010

I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?

View 9 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related

Ubuntu Servers :: Ubuntu Lamp With Proftp - Unable To Upload - An FTP Error Occurred - Cannot Put Index.html

Jan 26, 2011

Ive looked up and down but i cant seem to find an answer to my question. Why cant i upload to my ftp site. I am running a lamp server and i installed proftp. i created users and groups. i tested my server and its working fine. but now when im working on dreamweaver to connect to my ftp... It connects fine i can download my files from the site but when i edit them and try to "put" them back. i get an error:

index.html - error occurred - An FTP error occurred - cannot put index.html. Access denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured.

[code].....

View 2 Replies View Related

Fedora Servers :: Accessing Index File By Hostname?

Sep 6, 2011

I have my home network up and running. I can access my index file by the ip I gave to eth0 - 192.168.0.2

I put this same ip into etc/hosts:
192.168.0.2 localhost localhost.localdomain
One space separates the hostnames from the ip in /etc/hosts.
The hostname command returns: localhost.localdomain

I have /etc/resolv.conf configured the right way, so I can use my isp's DNS servers. I know this because yum works and I can ping anywhere by url. The next step is to learn to access the index file by url locally on my own network.

View 7 Replies View Related

Server :: Can't Display Index.html Under Fedora 12

Apr 6, 2011

I have displayed web pages (e.g., index.html) under fedora 4, 5, 7, 8 before with no difficulty. Now I troed to do similar thing under Fedora 12, and I cannot display index.html. Is Fedora 12 special? I did '#tail -f /var/log/httpd/error-log' and noticed a line:

"SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0"

Is the SELinux policy blocking me from displaying index.html page?

View 14 Replies View Related

Ubuntu Servers :: Enter Domain Name Instead Of Processing Index File It Downloads?

Feb 14, 2011

i have a weird issue with my web server. every time i enter my domain name instead of processing my index file it downloads it. wth could be the problem first time this ever occurred. recently installed webmin.

View 7 Replies View Related

Ubuntu Servers :: Virtual Hosting - Name The Index.htlm File Of 2nd Domain?

Apr 13, 2011

Ubuntu 1010 server 64bitlighttpdFor the 1st domain,say domain1

I name the index file as:
/var/www/index.html
/home/lighttpd/default/http/index.html

[code]....

View 4 Replies View Related

Server :: Lighttpd - Name Index.html Of Additional Domain?

Apr 13, 2011

For the 1st domain,say domain1. I name the index file as:

[code]...

3 identical files. It works seamlessly. On browser its webpage can be evoked. Now I add another domain, say domain2. How shall I name its index files?

[code]...

View 1 Replies View Related

Ubuntu Servers :: Allow Users Access Via SSH Terminal Or Sftp Via WinSCP?

Jun 6, 2010

I am currently running Ubuntu Server 9.10 as an FTP server. It has become a necessity to allow users access via SSH terminal or sftp via WinSCP. I need to be able to monitor what users are doing at any given time and be able to pull up each users activity history. Essentially I need to be able to pinpoint who modified a file at what time. Also what is the best method to monitor things like nmap probes?

View 1 Replies View Related

CentOS 5 Server :: HTTPD - Forbidden Dont Have Permission To Access /index.html?

Mar 3, 2010

Basicly just installed a fresh version of Cent OS 5.4 with apache httpd installed automaticly during the installation. The http daemon is running and when navigating to localhost i get the welcome cent os apache page thingy. The problem is when i put an index.html file in /var/http/www then try and navigation to localhost I get a 403 forbidden error.

View 2 Replies View Related

Ubuntu Servers :: Email Is Sent From The Mail Queue Its Not Delivered In Html Format - File

Nov 3, 2010

I have recently set up an ubuntu 10:04 based email server using postfix, clamav and squirrelmail. The setup works like a beast, much better than the old sco based system we were using. Anyway I work for a law firm, and we have use a bespoke case management system to complete work on cases. We have started a paperless office initiative. This means we are asking more and more clients and firms to correspond via email. This is where my troubles are kicking in. The governing body of solicitors in the UK is very picky, and we have to have certain formats and information in documents when sent out to clients, this is the same for emails.

I have a script that will cat the html header information, then cat the body of the email and finally cat the footer html information. The output of which is perfect and usable to the firm. My problem comes sending this file. The end of the script I have the following:

Code: mail -s $SUBJECT $CLIENTS_EMAIL < email.$$$ Pretty self explanatory. But when the email is sent from the mail queue its not delivered in html format but in plain text. Any email sent using outlook from any machine on the network can send and receive html email. How can I make this happen from the command line?

View 3 Replies View Related

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

Ubuntu Servers :: Use Vi Editor To Edit The Smb.conf File ?

Jul 28, 2010

Trying to get this server to work and abandoned trying to do it with Xubuntu last night and installed Ubuntu server. But now I'm stuck on Samba again as I decided to use the vi editor to edit the smb.conf file and now I can't get out of it.

View 4 Replies View Related

Ubuntu Servers :: How To Edit The File Ports.conf

Jul 8, 2011

I want to edit the file ports.conf to make Apache to listen only to loopback interface as described [URL]... here ,The text extract follows

Quote:

The Listen directive specifies the port, and optionally the IP address, Apache2 should listen on. If the IP address is not specified,Apache2 will listen on all IP addresses assigned to the machine it runs on. The default value for the Listen directive is 80. Change this to 127.0.0.1:80 to cause Apache2 to listen only on your loopback interface so that it will not be available to the Internet, to (for example) 81 to change the port that it listens on, or leave it as is for normal operation. This directive can be found and changed in its own file, /etc/apache2/ports.conf

But by typing [CODE]sudo vi /etc/apache2/ports.conf [/CODE} and opening the file I am not able to edit the file After going to the Listen Directive I am not able to type 127.0..0.1, Since what I type does not appear on the screen, the Keyboard is not working. How will I be able to edit the ports.conf and other configuration files

View 3 Replies View Related

Ubuntu Servers :: Edit Files In Mounted .image File?

Mar 24, 2010

a friend of mines laptop died a few weeks ago and i said i would extract data off the drive for her... did this with dd and created a .image file. I have this image mounted so it is browseable, and we can copy files from it however i am unable to delete files from it?

You'd think it was not a big deal... but i'm running out of space!! and the .image is 90 odd gb. I know i "could" just get the disk and copy the files off she wants... but that would be too easy

View 1 Replies View Related

Ubuntu Servers :: Can't Edit /etc/resolv.conf File As Root

Jun 14, 2010

i can't edit /etc/resolv.conf with root account (Ubuntu Server 8.02)

root@webserver:~# sudo vim /etc/resolv.conf
"/etc/resolv.conf"
"/etc/resolv.conf" E212: Can't open file for writing
root@webserver:~# ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 287 2010-06-14 15:20 /etc/resolv.conf

View 9 Replies View Related

Ubuntu Servers :: Edit /etc/environment File And Write There My Variable

May 7, 2011

I edit /etc/environment file and write there my variable by it's not effected, what i need to restart daemon that it's show on echo $VARIABLE.

View 1 Replies View Related

Ubuntu Servers :: WebGUI File Manager - Able To Access And Edit Files From The Web ?

Jun 13, 2011

I'm after a WebGUI file manager which runs on another port rather than port 80 (already have a Apache installed)

But i want to be able to access and edit files from the web, rather using FTP client etc..

View 6 Replies View Related

General :: GUI File Manager For Ssh/linux With A Shell - WinSCP Doesnt Work As It Locks Up?

Jul 9, 2010

I am using a server where i need to login twice. The first time i login as my boxname and pass. The 2nd login is 'root' so i can access the content of the box (i dont understand it but that hasnt stopped me from using it as normal).Now i like a GUI so i can browse files easier and drag and drop multiple files instead of using the command line. WinSCP doesnt work as it locks up. I suspect its because there is a prompt to log in again.

What can i use to drag & drop files?

View 3 Replies View Related

OpenSUSE :: Edit/create HTML Document And Run?

Feb 21, 2011

How can I edit/create HTML document and run them in linux?

View 7 Replies View Related

General :: Edit Html Files Generated By Mrtg?

May 4, 2010

I'm using mrtg to generate html files. With mrtg , i use indexmaker . Inside html files , i have found some html tag like "<SMALL>some text</SMALL>".

There is the manner to delete text inside two tags ? With bash script?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved