Server :: Which Directives Are Processed In Which Order In Apache?
May 28, 2010
I have searched google for a while and searched the httpd.apache.org official site, but i cant find any information on which of the apache directives are being processed before other directives. If you have a large httpd.conf you need to know this, but amazingly i cant find this documentation anywhere which i find pretty unbelieveable. I currently have a situation where i have an apache module that is being run before another module and i need to find out why.. in addtion to that i need have complete control of the configuration, so i need to find out in which order the different directives are being processed.
View 1 Replies
ADVERTISEMENT
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
Mar 5, 2010
For some reason, my user directories don't seem to process php files. For example, server/~reduxtion/index.php forces the browser to download the file while server/index.php is fine.
View 1 Replies
View Related
Mar 8, 2011
I am a bit fuzzy about the usage of adduser script directives in the smb.conf. I pressume they give you the ability to add users directly from windows machines... or not? And how can I use them?
View 8 Replies
View Related
Aug 25, 2009
I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13
View 99 Replies
View Related
Jan 7, 2011
I just got my new vps up and running. I now have one site hosted on the server using drupal. Apache,php, mysql are all set up and working fine. I tried to setup a second site and created another virtual host for it. All permissions are set the same, the two virtual hosts have all the same settings but the new site does not process my php. When I browse to the new site I get a blank page. By viewing the source I can see that the php code is coming in but it is not being processed.
Don't know enough to know what else to check.
View 2 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
Sep 27, 2010
I have a machine with 8 cores. I have a directory of input files that I need to process using a non-parallelized program. I would like to write a script that works its way through a list of commands executing 8 commans (i.e., instances of this program; each with specific flags having to do with the current input file) until the list of commands has been exhausted. Is there an easy way to do this?
Code:
hamstrsearch_local-hmmer3.pl -protein -refspec=lotgi_2713 -hmmset=lophotrochozoa_hmmer3 -sequence_file=Aplysia_californica.fas -taxon=ACAL
View 3 Replies
View Related
Feb 21, 2011
I'm trying to improve the functionality of my mouse in my installation of Ubuntu 10.10 desktp 64-bit running inside a VMware workstation VM running on a Windows 7 64-bit host. I stumbled upon some instructions suggesting changing a xorg.conf directive (specifically, change the mouse protocol from "imps/2" to "explorerps/2") which I'd like to try out. However there is no xorg.conf file in Ubuntu 10.10. I tried using Xorg -configure to generate the file and placing it in /etc/X11/xorg.conf, but it seems to make no effect. Using "xinput list" the mouse is still listed as imps/2 even after I changed the xorg.conf file and rebooted. It seems Ubuntu 10.10 ignores the xorg.conf file completely? If that's the case, is it possible to manually specify this setting that used to belong to xorg.conf at all?
View 2 Replies
View Related
Feb 4, 2010
Any one have an idea How to clear apache cache without restarting apache server.
View 5 Replies
View Related
Feb 15, 2011
I am installing some SSL certificates on my web server, however I have a couple questions, as I'm not familiar with this process
1) I'm not sure which directory to put them in? What is good practice? Is /var/www/secure a good location so long as I restrict access to the secure directory?
2) I am told to edit the following in my ssl.conf file of apache2
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
However, I cannot find this file, ssl.conf. Nor can I find the above directives in my main apache2.conf file. Where is the ssl.conf file? Or alternatively, could I just add the above directives to my apache2.conf file?
View 2 Replies
View Related
Jan 24, 2010
I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.
However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?
View 5 Replies
View Related
Aug 18, 2010
in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.
Is the same can be use for the date format YYYYMMDD ?
View 3 Replies
View Related
Jan 20, 2011
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
View 3 Replies
View Related
May 5, 2011
How can I find the order of stated services in boot process? For example I want to check which one runs first: /etc/fstab or networking? I am using ubuntu server 10.04
View 7 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
Jul 20, 2011
I have got a nagios server running on my network, The configuration seems to be okay but each time there is a service alert notification, and an e-mail is sent to the contact group, Nagios continuously sends e-mail over and over again. Do anyone know of a way to set Nagios directives to only send one e-mail per alert without it flooding mail boxes.
View 3 Replies
View Related
Aug 25, 2010
I setup a memcached and want to run this file " /etc/init.d/memcached " when the server boots. I do not know where to add this in order to run at start-up(in which file).
View 4 Replies
View Related
Feb 8, 2010
how to list folder size in descending orde
View 2 Replies
View Related
Apr 12, 2010
I'm working on an old redhat server with mysql installed and I need to find a way to stop the service in order to preform a backup.
some info that I found on the server code...
View 9 Replies
View Related
Jan 31, 2010
I have scalix (sendmail) installed on my server and it is working very good but I need to change the smtp listening port because I am thinking that my sendmail is being used as a spam engine.
what/how I need to configure in order to change the smtp port?
View 3 Replies
View Related
Oct 19, 2010
My boss has suggested installing the unixODBC driver in one of our Red Hat 5 servers in order to connect to a Microsoft SQL/SERVER database (Windows server).
View 1 Replies
View Related
Feb 27, 2011
I was saddled with the job of maintaining my department's website (I work at a college). When I still used windows I would access my department's folder on the web server using the following procedure: (in windows XP) go to the start menu > click 'run' > enter the folder address, I would be prompted for my login and password. The folder, and the whole server in fact, would then be visible in the windows file browser, under the 'networks' icon. I could then navigate to my department's folder and modify the files I need to to update the website.
How do I do this in Opensuse (using Gnome). I tried going to 'network' in nautilus and then 'open location' but no luck. I also tried 'connect to server' in nautilus (in the 'file' menu), but again no luck. which I could stomach if my college provided reliable access to computers on campus, but they don't so I have to use my laptop, which is now windows free . My current job is only going to last for a few more months, so having only so recently got rid of windows I am reluctant to re-install it just for this purpose (which is just about the only reason I currently have for using windows - the other is being able to download audiobooks from the public library, but that's another matter).
View 9 Replies
View Related
Dec 23, 2010
I have 4 VMs on a Linux host, call them A, B, C, D running on Z. I really don't care when A and B come up, but I would like to make sure that D comes up before C.I believe that in VMWare 2.x it's possible to change the boot order. Is this possible in 1.x as well? Is this done in /etc/vmware/vm-list? I see that there are a number of VMs listed there, including some that have long since been deleted.
View 1 Replies
View Related
Dec 3, 2010
I'm trying to install the latest NVIDIA drivers (not the ones provided by the 'Additional drivers' application). In order to install them, I need to exit the X-server and terminate all OpenGL processes. How do I do that? I've seen many things like 'press ctrl-alt-backspace' and typing 'sudo /etc/init.d/gdm stop' but none of them work. I'm using Kubuntu 10.10 and gdm doesn't even exist.
View 4 Replies
View Related
Dec 3, 2010
Im new to Linux, so wanted to ask something.I need to install a Curl Library for my Platform in order to run my Game Server.But how do i install it ??Already found the files: [URL]..I have Linux Ubuntu Lucid (10.04)
View 1 Replies
View Related
Dec 29, 2010
I just want to know how to monitor urls using nagios.i.e running web applications under tomcat. can any one pleasAe provide me links or docs that narrates,how to configure nagios in a way to monitor our web applications. we already configured nagios for monitoring remote servers load,login details, disk space etc. But we could not find any documents for configuring nagios in order to monitor webapplications.
View 1 Replies
View Related
May 8, 2009
It's possible to configure Postfix in order to check spam only for outgoing email?
View 2 Replies
View Related
May 22, 2011
Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.
View 7 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