Fedora Networking :: Config The Httpd Apache Server To Upload Files
Jan 6, 2011
my task is to store the data to a file at server sent via HTTP POST, i written suitable cgi script in C, but the PROBLEM is that i can't complete the task, I guess i require server permission to do so, how to configure server or how to get access right from server to store data to a file.
View 3 Replies
ADVERTISEMENT
Jun 14, 2009
I would like to setup 2 linux machine each with two ethernet cards, and need to connect to two subnet e.g. 192.168.*.* and 10.0.*.* . If one linux machine out of order, the other will take over all the services(1 httpd and two named(192.168.*.1 and 10.0.0.1 as server ip). What network config is best and easy to failover to other machine?
View 1 Replies
View Related
Feb 2, 2011
I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,
e.g /var/www/mydomain/pub
i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,
if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,
Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
View 1 Replies
View Related
Feb 23, 2011
config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
View 1 Replies
View Related
Nov 30, 2010
How do i upload files using apache configurations. ho do i do that. i am using centos.
because my client wants upload files through httpd.
View 4 Replies
View Related
Feb 10, 2010
I have a requirement of using a wildcard certificate for 5 subdomains running under apache httpd server and 1 subdomain under tomcat.Is there any possibility of using the single wildcard certificate both in tomcat and apache
View 3 Replies
View Related
Feb 11, 2011
When I do " ps aux | grep apache " I can see that apache2 is running. But when I do the same thing for http or httpd there is nothing. I looked for this question in the forums but couldn't find it. I probably don't know just what to look for.I'm using the new Debian Squeeze, and was fooling around heavily with new software installations and modifications, and just noticed all of a sudden that I couldn't get on the internet - so I know I did something but don't know what.I can plug in a thumb drive with a bitnami joomla stack on it and run, " ~/tmp/joomla-1.6.0-0/./ctlscript.sh start "and that gets things going for the joomla stuff (apache, http, mysql, php), but that stuff is pretty self contained and does not effect the browser's attempt to reach the web.
View 12 Replies
View Related
Feb 7, 2010
I am trying to setup Fedira 12 Linux Apache in my home network. I am able to access the hosted website from inside my home network without any problem. I am facing the problem to access it from outside. At the moment i have connected the Apache directly to DSL modem for testing purpose. I was reading "The ISP may have blocked the HTTP port 80. So check it by connecting the Apache directly to DSL modem." The temporary network connections for testing purpose are as follows..
DSL modem (SIEMENS Speed Stream 4200)-->Fedora 12/Linux Apache Server
I am even unable to PING the real ip (IP for DSL modem).(Firefox gave me error message "Connection Timed out) I have tried to ping it from the internet.I can PING the DSL from Apache without any problem.
1. Why i am even unable to PING the real IP of DSL modem at my home.?
2. Is it possible to run/setup Apache by using this type of DSL modem?
3. DSL modem has real IP. DSL MODEM assigns private IP (192.168.x.x) to Apache. So when a http request form the internet came to DSL modem on port 80, will it forward to Apache automatically.? or i have to made any changes.(I can not see anything in DSL modem to change/modify), OR do I have to use another DSL MODEM/Equipment (router)? This setup is just temporary. The actual design is as follows
DSL MODEM(Speed Stream 4200)-->Fedora 12 Linux ROUTER--->Internal network with DNS/Apache Server
View 9 Replies
View Related
Aug 4, 2010
what is the role of /etc/sysconfig/httpd configuration file in apache server .
View 2 Replies
View Related
Jan 17, 2011
Am I right in thinking that the system-config-httpd tool doesn't work in Fedora 13?
View 1 Replies
View Related
Aug 16, 2011
Configure the HTTP server via system-config-httpd brings up some nice gui.I start a console, login to root and start it with: system-config-httpdGoto tab Virtual Hosts, then addI name my Virtual Hosts "sea", set its document root to: /home/sea/webs/sea.hs/www
where index.php is located for that 'local test server'.Host information is on Name based Virtual Host.But what do i have to enter for IP Adress and Host Name? Neither of these accept 127.0.0.1 nor localhost Further, when i try to exit, it wont let me close the app.Its not saved, hence i can even delete the default virtual hosts and its there again after restarting the app Even with adding sea /home/sea/webs/sea.hs/www or sea localhost.localdomain localhost to /etc/hosts doesnt change anything
View 4 Replies
View Related
Jan 13, 2011
I am administoring a few websites and the latest website to be deployed has a few "unable to check htaccess file, ensure it is readable, referer: " errors in the apache-error log.
That is fine, becuase the directory doesnt contain a .htaccess file.
Is there a setting whereby I can turn off this error ?
I dont want to turn off checking for .htaccess files because some directorys have this file and use it.
View 2 Replies
View Related
Jan 19, 2009
We have apache installed at a directory other than the default location. There are two httpd.conf files on the server, one at the apache installation directory, and the other one is the default one at /etc/httpd/conf. The apache ran very well with the customized httpd.conf before, but after I installed php 5, the server seems taking the default httpd.conf and doesn't display the html pages which are installed at our apache directory. How to let the server know not to use the default httpd.conf and use the customized one instead?
View 3 Replies
View Related
Jun 30, 2010
I've been trying to make install apache 2.1.8 and php 5.2.3 and work on them. After updating and installing some dependence files, apache and php could both be installed.
Then I tried to configure them. I added the following content to the end of Apache httpd.conf:
Code:
Then I run /path/to/apachectl start, and saw the message:
Quote:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Then I remembered that I didn't include the rewrite module while making install apache. So I removed the 2 lines I just added to httpd.conf.
But, after running /path/to/apachectl stop and start again, I could still see:
Code:
When I use firefox to open http://host_ip:8080/, I could see "It works!". But when I open http://host_ip:8080/hello.php (the file is already under htdocs), firefox said
Quote:
Failed to Connect
Why and how to solve it?
I noticed that for some stupid reason, the conf file wasn't updated at all and the 2 erroneous lines were still there.
View 91 Replies
View Related
Mar 3, 2010
I've got a dedicated server using whm/cpanel and there is a particular domain being hosted which contains a very elaborate .htaccess file which is full of mod_rewrite rules, among other things. I've been asked to try and get the contents of this .htaccess file into the httpd.conf (or some appropriate include file) to improve performance.
I've been reading this page and it's really confusing me: [url]
In the file usr/local/apache/conf/httpd.conf I see that there are two VirtualHost sections that appear to be relevant for my domain (which I'll call mydomain.com). The first listens on port 80 and the second is on 443. Seems to me that my apache directives in .htaccess would belong in this section. In the first section I see this:
Code:
In the second section I see this:
Code:
The problem with both of these is that the directory /usr/local/apache/conf/userdata does not exist, much less the full path to either of those files.
View 1 Replies
View Related
Dec 19, 2009
I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice
View 4 Replies
View Related
Aug 9, 2011
I have installed libapache2-mod-bw and it works great to throttle download speeds to the clients (i.e. - the bandwidth out of the server can be controlled just peachy).However, I need to limit the bandwidth *into* the server from specific networks because my WAN links are tiny and do not have QoS or shaping of any sort (I know, I know - contracts in place - will be fixed in November - not my design).I know that there are ways to throttle this at the interface level (e.g. - wondershaper) but I'd like to allow full bandwidth to the clients that are connected locally. The server in question is for web file transfers (under apache2 on 443) and expected file sizes are up to 2GB so a per-network limit would prove helpful.
View 2 Replies
View Related
Dec 24, 2010
I've write a php code to upload files. by move_uploaded_file. I've given 777 to the folder. But file upload unsuccess, error log show no premission. I test the code in Centos it wotks. I change the dest folder in Fedora to /tmp it works, but it only work on /tmp. neither /tmp/abc nor /temp. I guess it's a setting problem on apache or php. I also copy http.conf and php.ini from Centos, but mod_file_cache and mod_mem_cache not find in Fedora.
View 2 Replies
View Related
Sep 3, 2009
I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"
View 14 Replies
View Related
May 29, 2010
I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
View 6 Replies
View Related
Jun 22, 2010
I want to be able to created directories and upload files (images mostly) via a php web page. The directory structure is a throwback to windows and I really really don't want to have to change it because there are so many files/links already there.
/cust/cust_name/site/version/web (all html/php files go here)
I want to be able to edit the files with a 3rd party tool (SSH based). These are small orgs, like my church, local community club, sports team, etc., so file ownership needs to sync with the editor, not apache.
[Code].....
View 5 Replies
View Related
Jun 25, 2011
I'm having a problem with mod_suexec in Fedora 15.I have suexec set up in Apache, snippits from httpd.conf:
Code:
LoadModule suexec_module modules/mod_suexec.so
...
[code]....
View 3 Replies
View Related
Jul 16, 2010
I'm not all fluent in apache, so bare with me. I inherited this environment months ago, and I am still learning the strangeness of things in it.Here are two of my config files on all my web servers:
/etc/apache2/mods-enabled/cache.conf:
<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot /var/cache/apache2/mod_disk_cache/
[code]....
Correct me if I'm wrong, but don't these files configure the same settings, and don't they conflict? And if the conflict, which file gets the final say? And if one file overrides the other, can I just remove the one that loses?
View 3 Replies
View Related
Dec 1, 2009
I have a Fedora 11 system and cbq.init-v0.7.3 in it. Now I want to restrict upload speed from my ftp server to Internet (eth1). According to docs I've made a simple file /etc/sysconfig/cbq/cbq- 00.inet_upload_restrict:
DEVICE=eth1,100Mbit,10Mbit
RATE=800Kbit
WEIGHT=80Kbit
PRIO=5
RULE=:20,
So as you can see I want to limit outbound traffic on eth1 from my ftp port 20 to any to the 800Kbit/s (100Kbyte/s). Now I do cbq start, it says: find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. but it starts and works. Now I check the speed and it is...
View 3 Replies
View Related
Jan 8, 2011
i 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 Related
Mar 17, 2011
I am trying to add a second vhost to my once working apache config. Now I have things really bollixed up and cannot access anything. I am getting a error 400. The access log shows this:
192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951
192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951 "-" "-"
I have a default (I think) httpd.conf file and put all my config stuff in files in vhosts.d. I have 3 files there:
[Code]...
View 14 Replies
View Related
Nov 6, 2009
it may be a simple doubt i have but i really want to know this,in the httpd.conf file under the server root of apache server.they have instructed not to add a slash at the end when mentioning or giving the path for server root.I think both will still remain the same, then y is that mentioned that way?
View 6 Replies
View Related
Nov 25, 2010
I'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:
View 14 Replies
View Related
May 23, 2011
I want to upload files from my computer to an FTP site and I don't want to upload files that are already on the server. So I need a tool that finds out which local files that are different from the ones on the server, or that don't exists on the server.
Some requirements:
I'm using a cheap provider that does not support rsync or ssh, so I can only use FTP. I generate the files before uploading them, so comparing timestamps is meaningless. I've tried lftp with the mirror command. It's slow (I think it uploads all the files). I upload the files from different computers, so I can't use sitecopy, which uses a local database to keep track of which files are on the server. I'd like to be able to upload all changed files with one command. Preferably no GUI application. And it needs to run in Ubuntu.
I was thinking about creating a tool similar to sitecopy, but which stores checksums of all the files on the FTP server on the server itself. But then I thought that there may already be such a tool.
View 1 Replies
View Related
Mar 29, 2010
i want to upload some files to my server at a particular time how to do ? or I want to upload some files from my pc to server at scheduled time?
View 3 Replies
View Related