Server :: Apache Web Server Config File
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
ADVERTISEMENT
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
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
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
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
View Related
May 2, 2011
when installing mysql-server by this command sudo apt-get install mysql-server. Installaton is complete but i cant get a my.cnf file. Can anyone tell, what is the mistake i did and how to overcome from this error. Here, i am posting the results
sam-osm@dhcppc4:~$ sudo nano /etc/mysql/
conf.d/ debian.cnf
View 2 Replies
View Related
Jul 29, 2010
I want to restrict the access to my local web server by IP address. Im in a LAN (192.168.200.xx) so i have this:
[code]....
But when i try to connect from 192.168.200.4 it says i don't have permission to access
View 1 Replies
View Related
Mar 21, 2011
I have install Mandriva 2009 and install apache server but its not strating on default configuration file . What I should do for starting apache . i have tried /etc/init.d/httpd start but apache is not running .
View 1 Replies
View Related
Aug 19, 2009
I installed Apache server with Debian 5.0.2 Lenny. I am trying to write a script which would analysis web log files. I found the log files on /var/log/apache2. There is an access log file, `access.log`. My question is what configuration file determines the location and the name of the access log file. How can I change them? I used CustomLog in /etc/apache2/apache2.conf like below.LogFormat ": %h %l %u %t "%r" %>s %b" common
CustomLog /home/test/my_log_file common Apache2 generated /home/test/my_log_file. But no logs were written in the file even after I run `/etc/init.d/apache2 restart`. Ichanged the log file location. It still didn't work. However, Apache2 still wrote logs in the file `/var/log/apache2/access.log`
View 1 Replies
View Related
Oct 14, 2010
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5
[code]....
View 7 Replies
View Related
Jun 30, 2011
i need to config the file using the shell scripts..
i have set the static ip using shell scripts
1st it should ask the ip values 2nd it should check the file is exist or not 3rd then add the values or re edit previous values
i need to set only IP static
View 2 Replies
View Related
Jul 13, 2011
In my company have proxy server using Linux.
Ip Address Proxy Server 1 is: 123.16.201.23
Ip Address Proxy Server 2 is: 123.16.201.24
Every Client: 123.16.3.25,....
and 123.16.4.25,.....
....
- I want export config file on Proxy Server, but i don't know command and i see interface is command line. So hepl me command line and send file to my email.
- In config file on Proxy Server may be disconnect internet for user and Enable coonect internet for user. Hepl me do this?
- I using Ubuntu 10.04LST i want connect file Server on Server ( using WinServer2003).
I just go to company so i have everything don't know system.
View 2 Replies
View Related
Nov 7, 2009
I am trying to change the configuration of sendmail so that I can relay mail through google smtp server as suggested here.
First I ran 'm4 sendmail,mc > sendmail.cf' with the original .mc file that came with Fedora 10. There was no error.
I added the following lines.
Quote:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo','hash /etc/mail/auth/client-info.db')dnl
define(`SMART_HOST',`smtp.gmail.com')dnl
define(`RELAY_MAILER_ARGS�, `TCP $h 587′)
define(`ESMTP_MAILER_ARGS�, `TCP $h 587′)
I ran ''m4 sendmail,mc > sendmail.cf' again and got this message:
Quote:
m4:/usr/share/sendmail-cf/mailer/procmail.m4:33: ERROR: end of file in argument list
I did not change anything in the procmail.m4 file. What do you think caused this error?
View 3 Replies
View Related
Feb 1, 2010
I'm using RHEL 5.4 and trying to use the system-config-kickstart to generate a ks.cfg file with all the settings already appeneded. After running the "system-config-kickstart --generate ks.cfg" command, the file gets created but it's missing the firewall configuration, partition information and so on.
How can these settings also be generated with the system-config-kickstart?
View 1 Replies
View Related
Apr 21, 2011
I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram
The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?
Httpd.conf
Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....
View 2 Replies
View Related
May 27, 2011
I'm building a new file/media server for my household to use, and would like to hear the experiences of others, and suggestions, or links to appropriate howto's. I'll be using two (2) 250 GB Western Digital RE4 drives mirrored via mdadm RAID 1 for the Operating System. The storage area will be handled by four (4) 500 GB Western Digital RE4 drives in a RAID 5 array, managed by an Areca 1210 controller.
What I'd like to configure is a basic Samba file server, on which we have individual user folders, and a shared drive. As well, I'd like to add the ability to manage our movie collection so it can be accessed by the Boxee Box attached to the television. Twonky looks promising (and I don't mind paying the $19.95 for something that works well). However, as this is new to me, there may be other solutions out there that are better, and easier to administer. Moving forward, I'd like to explore the feasibility of configuring LDAP on this machine to authenticate users on the network (perhaps even integrate the mail server somehow), and the remote users (only two) who VPN into the network using the pfSense firewall appliance. There are no Windows servers, so Active Directory is not a factor.
View 5 Replies
View Related
Apr 30, 2009
We have been struggling with a problem with the mysql-server package. This might be in the wrong category because our problems are with it on x86_64. Where the problem happens variables that should populate from the my.cnf don't, on other servers, they do, the my.cnf files are identical except for the server-id
The problem occurs on some of our machines but not others. All are using the mysql-server-5.0.45-7.el5.x86_64 The ones that work, when you connect with a client respond with server version 5.0.45-log source distribution The ones that don't work respond with 5.0.45 source distribution
It's unclear what the differences are between the two source versions and how we wind up with two different versions. One thing that might be involved, the mysql package is installed with both the i386 and x86_64
View 1 Replies
View Related
Apr 18, 2011
I am just configuring my PC for learning php. If I install phpMyAdmin from rpm, it works however if I download it manually and put in /home/user/public_html/phpMyAdmin and then browse [URL], I just see a blank page. What is the reason?
View 7 Replies
View Related
Mar 31, 2011
Create a config file for Apache and this what I need to put and modify to meets my settings
NameVirtualHost *:9091
<VirtualHost *:9091>
DocumentRoot /var/www/trac/my_project
ServerName my_server_name
[Code].....
Do I simply add this within the /etc/httpd/conf/httpd.conf
if not how would I go about doing this
View 3 Replies
View Related
Dec 9, 2010
I have a recent install of Fedora14, and wanted to have outbound email sent to a smtp server elsewhere on the local network. I found the System->Preferences->Email Settings app and created a mail account with an smtp server. Now I am able to use mailx, mutt, and sendmail -- all send email correctly to the external server.
But I don't like being reliant on the GUI apps and wanted to know how this was done -- what system config files were affected. Assuming that my "smtp.xxx.com" server should show up somewhere, I grepped /home, /etc, and /var, but can't find it anywhere. On a whim I went into Evolution, deleted the mail account, and rebooted, but email STILL works. Where is this configured?
[Code]...
View 2 Replies
View Related
Mar 3, 2010
I have a dozen huge folders loaded with files (images, and so..).. I was wondering if Apache marks the files it accesses..
Thus, in case I want to delete files which haven't been accessed or surfed for a long time.. is that possible?
View 8 Replies
View Related
May 13, 2010
I trashed my Karmic Ubuntu install and installed Lucid (I had heard that the boot times were much reduced and I didn't see any improvement in my normal upgrade). I reinstalled Drupal but find that my installation of Apache does not run the scripts, but rather passes the php text file to the browser. IIRC when I installed it apt configured Apache correctly without me having to edit .htaccess or /etc/apache2/httpd.conf which makes me think that I am missing a key dependency.
Does anyone know of a check list to which I can refer to make sure that I've installed everything? My installation has Postgres instead of MySQL. Failing which, in the event that my memory is faulty, where can I find which changes need to be applied to the configuration files above?
View 4 Replies
View Related
Dec 16, 2010
I created VirtualHost in apache configuration file.
Code:
NameVirtualHost 77.79.13.20:80
<VirtualHost 77.79.13.20:80>
DocumentRoot "/var/www/host"
ServerName host.t2p.lt
</VirtualHost>
[Code]...
View 1 Replies
View Related
Sep 22, 2010
I am trying to set up an ampache server using apache as the webserver. The instructions have the following line as one of the requirments: Your webserver has read access to the /sql/ampache.sql file and the /config/ampache.cfg.php.dist file..I have essentially zero experience with apache, and I'm not sure how to grant read access to a file.
View 1 Replies
View Related
Sep 7, 2009
I was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config
[Code]...
View 1 Replies
View Related
Aug 4, 2010
what is the role of /etc/sysconfig/httpd configuration file in apache server .
View 2 Replies
View Related
May 23, 2010
Quite often I need someone to transfer a file to my laptop, and it's often different OS to different OS, and setting file-sharing, sshd/ssh, ftpd/ftp, and whatever else not is often not worth it. A USB key is also not always handy or big enough.
But, it's easy to be on the same network, just hard to get service working on top of it in less than 3 minutes if you've never dealt with that person's computer before.
What I was thinking would be the simplest thing would be if I could run apache, and have a very simple web script that simply allows file uploads. Something that would serve a web page that has a "choose file" button which brings up the file dialog, pretty standard I guess. I wouldn't say no to a few more functions on top of that.
Given that, does anyone know of a simple apache modules, or a web server script (language doesn't matter) that would allow for this?
View 2 Replies
View Related
Feb 2, 2011
I need to redirect through a .htaccess file in my root folder. The redirect needs to be done from http://www.department.univeristy.edu/reuir to a different server [url]. I am having trouble in determining the pattern that is required for it to take effect.
View 2 Replies
View Related
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