CentOS 5 Server :: How To Upload/change The Webpage
Apr 19, 2010i have a centos server with squirrel mail and sendmail, i have a web page that i want to change for a new one... how can i do it?
View 1 Repliesi have a centos server with squirrel mail and sendmail, i have a web page that i want to change for a new one... how can i do it?
View 1 RepliesThe software Nagios uses .cgi files to show a lot of things.. services, hosts, etc etc. Is there any way to pick up those .cgi files and import them to other web page? how to do it?
View 2 Replies View RelatedI am now using CentOS5 as the server providing Apache services. I have managed to setup the web page under /home/user1/public_html, now I wish to change the default web page of our server to /home/user1/public_html. i tried to modify httpd.conf, in which i changed the "/var/www/" to the above user directory, but didnot work. Please kindly suggest.
View 9 Replies View Relatedi have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
View 5 Replies View RelatedI've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5
I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]
So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error
I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(
Also the root directory where the web pages are served from is called public_html here are the permissions
Here is my vsftp.conf file can someone check it to see if i made any errors in there:
After few hours working I can connect to ftp.And download files from the server.But I can not upload file or create directory.I checked my configure file several time could not figure it out.
# cat /etc/vsftpd/vsftpd.conf
anon_world_readable_only=NO
anonymous_enable=NO
[code]....
I'm configuring a new public mail server running Centos 5.5 and Sendmail 8.13.8. I would like that the sendmail configuration is correct. The server will handle many domains using Virtualmin. Everyone can send mail only if authenticated, which I already tested.
How can I upload configuration file? I receive an error if try to upload a zip file.
I've installed a fresh centos5 box and installed vsftpd however my first test user does not have permissions to his own home directory.
Quote:Status:Connecting to x.x.x.x:21...
Status:Connection established, waiting for welcome message...
Response:220 Welcome
Command:USER xxxxxxx
[Code].....
I just want to place upload/download limit to each ip address ( say 20MB per day for each ip or specific ip) using squid proxy i tried through delay pool but it control only download/upload speed not place any download/upload quota restriction. following are my codes I have 1Mbps line
delay_pools 2
delay_class 1 2
# here 700kbps(87Kbytes) Net-Total usage limit, with 50Kbytes per user
[code]...
I also used
"reply_body_max_size" parameter to control upload limit.
But
"request_body_max_size" only restrict download based on size.
how to setup quota ( download quota per day per ip)
when the "Submit" button is clicked on a form in the webpage, I'd like the background tiled image to be changed to another one (downloaded from the server, and "activated"), and the logo that I have there also replaced by another one, which will also have to be downloaded from the server.
View 1 Replies View RelatedI need to make a very large (data) web page easy to read. This is also a simple web page and it is called largedata.html Assuming that it contains the data:
Quote:
Step out of the room.
Close the door.
Walk to the elevator.
Press the 1 button.
[code]....
I have CENTOS server with suPHP installed. The user (UID) and group (GID) are different for PHP files. But when I upload any file using FTP, it makes user:user and suphp fails to parse it. I then change the ownership (using ssh) as user:group for the php file and it works.
View 1 Replies View RelatedI have just configured CentOS server my new office. This is the first time I am using CentOS.
Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.
To achieve this, what Do I need to do?
The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?
Is there any way to change ubuntu one upload settings so that it only uploads 1 file at a time. I have slow upload speeds and the files don't always make it.
View 1 Replies View Relatedrunning ps -ef I get a number of processes back.. lets take the one below..
apache 10862 2845 0 16:02 ? 00:00:00 /usr/sbin/httpd
It is clearly a webpage that is being used..How do I look deeper into the process '10862' and see what webpage is being used?
how to change ip address on centos 5.3 ?i could not search the file such as "interface" ,
View 3 Replies View RelatedI've currently got a server that I've given a name which is quite difficult to remember.. Not me who chose the name..
It was made as a testing server for web-development, and I would really like to change the name from the difficult name to www9..
The reason is that I'd want to be able to easily connect to the server in the local network by writing http://www9/ instead of ex. http://reallydifficultnametoremeber/ or http://192.168.1.1/
I removed CYGWIN and installed a Ubuntu 10.10 64bit virtual box and now I have it running, but I still can't get it to run my CGI script from my webpage that i have on Ubuntu platform. I was wondering if there was a certain way that I need to install apache or whatever to get it running correctly.
View 6 Replies View RelatedI want to change my ssh port from the default 22 to something else. I did the following: vi /etc/ssh/sshd_config; uncommented Port 22 and changed it to the desired port number. After that I run service sshd restart for the change to take an effect. Now, when I want to login into the new port I receive this message - Network error:Unable to route to host. When I change the port back to 22, I will be able to login again.
View 6 Replies View Relatedhave setup a LAMP server with ubuntu 10.04 server edition x86 for my study in VMware Workstation 7.1 For a assignment I had to make a php script that would load a file up to the server and set the name in a mysql database. According to the book the server should set the image in a cryptic folder in the /tmp/ folder.
This isn't working and i also try'd locate and find to find the image i uploaded. I checked the php.ini and file uploads were on but no folder so i set that one to /tmp/ but still no images. Can anyone help me with enabling this function?
i am trying to upload project to a cvs repository installed on centos 5.4. the problem i am facing is that certain folders from the repository dont get uploaded to the cvs. i dont know the exact reason why? i checked the permission on the folder and the file under the hierarchy but there was no issue , all other projects were sucessfully uploaded .
View 7 Replies View Relatedi configured ftp in my server.i just want to access the web page created in server through ftp.ya i can able to access. but the problem is ,it,s showing all the files and folders of the server like Desktop,Documents etc.....
But its just need to show only the site files such as index.html and its sub folders.
i think the problem is because of logging in to the server through ftp as normal user,which is created in server. so i think if we login as ftp user we can able to access only the website files.
how to create ftp users.
I'm using the "Beginning PHP5, Apache, MySQL Web Development" book from WROX to teach myself these processes. I'm a retired programmer and trying to keep my brain active. I've been able to get through most of the process and get things to work. But getting a picture upload and then display it is killing me. The picture is moved from the initial directory and placed in the destination but will not show on the web page, I get a place holder and all the information about the picture, but no pic. The MySQL is processing all the database stuff .I haven't a clue what is not working, Firefox, Apache or what. I'm running Fedora 14.
Here is the code I'm using:
Code:
upload_image.php
<html>
<head>
[code]....
i have already configured a domain in my server. now i have configured multiple local ip addresses,can i configure a domain for each local ip address. is it possible. if possible how can i access the web page through apache.Because already i am accessing the web page for a pre-configured domain from the path /var/www. if i able to create new domain.From where the apache fetches that index.html file, when requested through browser.
View 5 Replies View Relatedcurrently i want to configure sendmail port number 25 im using these port numberalready how can i chage my senmdail port no.
View 2 Replies View RelatedI use CentOS 5.3 and trying to change limit of max. open files.I added in /etc/security/limits.conf
root soft nofile 50000
root hard nofile 50000
I have installed vnc-server and now if I would change the resolution in remote desktop I can't, I receive this error:
[URL]
I installed lxadmin and now when I try upload files to my lxadmin users public_html folder I get the following message. Cannot write to `backup.zip' (No space left on device). After checking with df -h i noticed / is full.
Quote:[root@box admin]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 1.5G 1.5G 0 100% /
/dev/sda8 65G 341M 61G 1% /var
/dev/sda7 745M 17M 690M 3% /var/tmp
/dev/sda6 996M 34M 911M 4% /tmp
/dev/sda5 2.4G 1.1G 1.2G 48% /usr
/dev/sda1 99M 27M 67M 29% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
/dev/sdb1 367G 195M 348G 1% /var1
I'm kinda new to all of this so I believe there's a simple solution for what I need I just don't know how it's done.
So I've configured a vsftpd, ftp server and enabled the anonymous user, therefore when I do
Code:
ftp://my_location.com
a directory like view is displayed in my web browser, corresponding to /srv/ftp where the files for the anonymous account are kept. Now I've made a little web page and I've copied it there, and can be executed running main.html so the address to access the web page would be
Code:
ftp://my_location.com/main.html
My problem is that I don't want anybody to have the possibility to see the directory like display so I'm wondering if when someone does ftp://my_location.com can't this be redirected so it will do ftp://my_location.com/main.html instead?, making the display of files and directories impossible from the ftp://my_location.com
Code:
# service httpd stop
Stopping httpd: [ OK ]
And now we access the web site by typing the URL: http://192.168.56.10/ and the following message, as expected, is displayed:
Code:
This webpage is not available. The webpage at http://192.168.56.10/ might be temporarily down or it may have moved permanently to a new web address. But is there any way to display a different web page or message when we have brought down the Apache Server for maintenance so that a visitor on our web site would not think that we are gone with our bags and baggages...?