I am using 2.2.29 in Windows.Trying to remove one cookie in a request header before passing the request to the application, but having trouble. The cookie is in the middle of the request header.
I'm looking for a way to add a script in the header tag of a web page without using a CMS or anything like that.it should be the first script that is running when the page is rendered.I'm running Apache 2.2.25 and Tomcat 7.0.50 - both Win32 versions.
There are two reasons for an approach like that.
(1) - I expect it to work regardless the CMS I'm working with; the same expectation is for Tomcat and Java applications. (2) - I'm able to start this as early as possible => includes monitoring the performance of the CMS itself.
My configuration is Apache 2.2.3 using Tomcat - AJP with mod_proxy_ajp, mod_ssl.We have configured Kerberos but some users are getting an error - Size of a request header field exceeds server limit.
Users with headers above 8K are getting this error, users less than 8K can get in fine. How can I increase this header limit in Apache/Tomcat? I have tried multiple suggestions found on google and other sites.
Here is what I tried:
Adding the following to the http.conf LimitRequestFieldSize 65536 ProxyIOBufferSize 65536
Adding the following to server.xml packetSize="65536"
editing a workers.propeties file, but we dont have any files on the server with that name.
I'm trying to perform SSO to my application. for my login i get an error "Size of a request header field exceeds server limit". I believe the header size got increased then the limit set in apache server. I'm guessing so.
the flow of request: Apache -> tomcat -> SAP Business Objects.
For my colleagues login the SSO works fine with out issue.
So, how to increase the HTTP header size. I'm bridging apache and tomcat using AJP connector. below is the AJP connector parameters in server.xml
I installed Fedora Core 4 from the DVD included with the "Run Your Own Web Server" book. Everything went great.
Now I need to add IMAP to PHP. This has proved very difficult, as it seems that the sources are not provided. I downloaded the latest Apache and PHP and tried to build with the same configuration used to build the ones that came with the book. (Apache went fine - the module inclusions are done through the configuration files. PHP is not going well at all - I grabbed the ./configure options from a phpinfo() call, and it just barfed all over the place.)
Simple question: is there an easy way to get the IMAP into PHP without going through the recompilation?
Simple answer: Install the PHP-IMAP RPM. I sure made this a lot harder than it need to be.
I run a Perl/CGI script from a Web page to download some files located in a Linux server. When I click from a Windows XP on the link of the file to download via this Web page (IE), a dialog box will be displayed to ask me to "Open" or "Save" the file (.txt, .doc, .xls,...) but for some extensions like ".dat" or ".asc", the dialog box ask me to save it only and I have not an "Open" button.
I tried to configure Apache to add these extensions as text/plain by adding these lines in http.conf:
AddType text/plain .asc .txt .dat
How can I add these extensions (.dat, .asc and other extensions) to Apache configuration to be able to open it with Textpad or Notepad?
I hope that the users will be able to open it with Notepad or TextPad without saving it. I know that we can add this type directly in the stations XP but I have a lot of users and I cannot manage that. I hope to perform it from the server. I think something is wrong or missing in my AddType, AddHandler or LoadModule?
I was trying to get the OCI8 and PDO_OCI extensions of PHP to work with Apache 2.4 and one of the things that needed to be done was to add a couple of variables to the Apache environment, but when I added these:
Apache took ORACLE_HOME fine, but LD_LIBRARY_PATH never took the values of the variables, I had to put the absolute value of them in order for it to take it.
We have an ongoing problem with Plesk on 1and1 dedicated servers.We host around 80 websites, all of which are very light and have relatively low traffic. When we get to setting up around the 70th website and create a new sub-domain, Apache crashes with the error:
Template_Exception: Can not restart web server: file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php line: 104 code: 0
We then run "bootstrapper.sh repair" to get Apache back online. But can't create any new sub domains, without the same issue occuring. With each server, 1and1 raise a ticket with Parallels, who log in and fix the issue. But then Following the Parallels fix, the server runs slowly, sometime throwing up 502 errors etc, which nobody is able to fix, and again, we have to move servers.We have just hit exactly the same issue on our 3rd and final 1and1 server.
I am setting up my work environment on OSX (a new macbook), and my previous setup is a Windows 7 PC. I've found that mod_rewrite is no longer working, and have found some clues why:
Typically, I want to take [URL] ....
which by mod_rewrite will get turned into [URL] ....
so far so good, and this works fine on the Windows PC.
However, I believe Apache on my macbook has something configured differently, as since it knows about the file catalog.php, it appears to update [URL] ....
BEFORE the mod_rewrite happens. Hence the mod_rewrite fails.
I am basing this on having enabled RewriteLog in httpd.conf.
Found the fix. Per stackOverflow - turns out adding the following to the .htaccess file:
I've been trying to install a new WHM/cpanel in a clean machine with RAID 1 and in the middle in the install (its a long process as u may know well) throws me some strange messages like this
Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.
If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.
You should run /scripts/ssl_crt_status as part of your troubleshooting process. Pass it --help for more details.
Also be sure to examine apache's variouse log files.
and this:
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: compat-db i386 4.2.52-5.1 base 1.7 M db4-devel i386 4.3.29-9.fc6 base 2.0 M openssl-devel i386 0.9.8b-8.3.el5_0.2 base 1.8 M pam-devel i386 0.99.6.2-3.26.el5 base 188 k rpm-build i386 4.4.2-47.el5 base 551 k zlib-devel i386 1.2.3-3 base 101 k Installing for dependencies: e2fsprogs-devel i386 1.39-10.el5_1.1 updates 563 k elfutils i386 0.125-3.el5 base 163 k elfutils-libs i386 0.125-3.el5 base 105 k keyutils-libs-devel i386 1.2-1.el5 base 27 k krb5-devel i386 1.6.1-17.el5_1.1 updates 1.9 M libselinux-devel i386 1.33.4-4.el5 base 131 k libsepol-devel i386 1.15.2-1.el5 base 189 k
Total download size: 9.3 M Downloading Packages: http://mirror.steadfast.net/centos/5..._0.2.i386.rpm: [Errno -1] Package does not match intended download Trying other mirror. http://mirrors.rit.edu/centos/5.1/os..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://yum.singlehop.com/CentOS/5.1/..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://centos-distro.cavecreek.net/c..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://ftp.osuosl.org/pub/centos/5.1..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://mirror.trouble-free.net/cento..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://mirrors.unbornmedia.com/cento..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://pubmirrors.reflected.net/cent..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://mirrors.bluehost.com/centos/5..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://ftp.usf.edu/pub/centos/5.1/os..._0.2.i386.rpm: [Errno 9] Requested Range Not Satisfiable Trying other mirror.
Error Downloading Packages: openssl-devel - 0.9.8b-8.3.el5_0.2.i386: failure: CentOS/openssl-devel-0.9.8b-8.3.el5_0.2.i386.rpm from base: [Errno 256] No more mirrors to try.
this one is because it cant find the mirrors!
Well there are some other errors, but those worry me the most. i've done the install as appears in the cpanel website, dunno why i get these errors. Any suggestion is appreciated.
btw, its a centos 5.1 install with no GUI and no extras installed.
I have a plesk 11.0.9 on a windows server 2008 R2 which has MailEnable. One of my customers faced a problem to send emails from one of his local mailboxes to another of his local mailboxes! He got this error:Your message did not reach some or all of the intended recipients.The following recipient(s) cannot be reached.Server error: '550 Requested action not taken: mailbox unavailable or not local'
But we are sure the recipient mailboxes exist and work fine!I checked this link: URL....It dosen't work for this case.
I have install Plesk 11.5.3 on my Windows Server 2008 r2. I want to try Mailenable on the PleskServer, so i installed the feature, but know when I am calling the webmailer with http:webmail.domainname.de works fine, but when I try https://webmail.domainname.de i become a Not found: HTTP Error 404. The requested resource is not found
I've just recently installed Plesk Panel 11.5. Previously I was using a basic IIS Mail Server with the current server allowed to relay messages for my Web Sites.After installing Plesk, I went to Tools & Settings -> Server-Wide Mail Settings. In there, I have relaying set to Authorization is required (SMTP) and for the relay access I have the following 3 entries:
127.0.0.1/32 ::1/128 <My Servers IP>/32
Whenever one of my sites tries to use this server now to send out mail, I keep getting the following error:Mailbox unavailable. The server response was: Requested action not taken: mailbox unavailable or not local...I've been struggling with this issue for weeks now and have read all the documentation and forum posts I could think of, I've restarted the server, I've run C:Program FilesSWsoftPleskadminin>mchk --all --fix=all
The e-mail accounts that I'm using to send mail from has nothing to do with this server and it's domains, I'm just trying to set the mail server to start sending mails like my IIS server used to.I've found the setting to Open Relay on the server and have activated it, yet whenever one of the websites attempts to send a mail, the same response is received.Mailbox unavailable. The server response was: Requested action not taken: mailbox unavailable or not local.
PHP Warning: Cannot modify header information - headers already sent in /home/user/public_html/ads/adserv.php on line 68, referer: [url]
What does this mean? All was done was cpanel transfer between two cpanel boxes, that is all. Still using php 4.4.8 / mysql 4 with apache 2.2 (centos 5)
We are hosting provider. I running Plesk 11 on Window 2008 64 bit. I have a website error as flow
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.