's "cute paperclip popup assistant" to show up.
Apache isn't a Microsoft product, this statement
is just absurd and I think a bit insulting to the Apache develo
processor time on a periodic
basis. So it is entirely possible that it will continue to work while
Apache is overloaded.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus
ould file a bug or something
Well, we need a real good look at the HTTP transaction to determine that.
You may need to do some more digging beyond that to see where the
problem is occuring.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et na
s a location outside of its allocated protected
memory space. That has nothing to do with Apache or what user it or
the application are being run as.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribu
owser that
decides how to display the content. Apache only serves the data
requested, it has no bearing on how the browser presents it.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium c
would put the appropriate directive in the default vhost section
and it should work if I am not mistaken.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti
S error you are getting as the
"amplesite.mydomain.com" subdomain probably does not have a DNS entry.
To verify this, see if you get a valid IP address when you query DNS
using nslookup or dig for the "amplesite.mydomain.com" host.
Dragon
~~~
Dobes Vandermeer did speak thusly:
On Thu, Sep 4, 2008 at 9:56 AM, Dragon <[EMAIL PROTECTED]> wrote:
> Dobes Vandermeer did speak thusly:
>>
>> For some reason I'm not getting any hits on my google searches for
>> this, so I'm trying this mailing list.
>
n of attachment should cause the browser
to prompt you to save the content.
Dragon
~~~
Venimus, Saltavimus
option is to make your source code available so people can
compile it against their own environment.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus
Any other environment may be incompatible in any number of ways.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
P is using
an OS that is Unix-like that supports these
commands (Linux, BSD, OSX, Solaris, etc.).
All bets are off if the OP is using Windows. That
would require digging into the Windows SDK to enumerate the system task list.
Dragon
~
y not have the web mail server responding to port 80 (as it should)?
Then you configure your router as I suggested. Problem solved and no
funky business with redirects or proxies.
Dragon
~~~
Venimus, Saltavimus, Bibimus
nal internal network traffic
as the requests and responses will be sent twice in both directions
(from router to proxy, from proxy to webmail and then back again).
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribu
different machine
with a different IP address?
If so, the easiest (and best) way to do that is via proper DNS and
routing to the right machine for each application. Why would you want
to have Apache do what your router should be doing?
tions. Perhaps one of those will be a better fit for
what you are trying to do?
http://www.google.com/search?en&q=tcp+proxy
Dragon
~~~
Venimus, Sa
into different files to
be read by an include directive in the httpd.conf file and each
virtual host can specify its own set of log files.
This is done by a lot of ISPs, especially ones that use a commercial
control panel type of system like Plesk or cPanel.
D
access the server remotely.
Cons? Attackers can access the server remotely. Be sure you know what
you are doing and set up the security of the MySQL server correctly.
This is not a trivial task and if you get it wrong, somebody may
maliciously screw up your databas
Stut wrote:
On 13 Jun 2008, at 22:37, Dragon wrote:
Stut wrote:
Hi,
I have a problem with one of the web servers I manage. It runs
FreeBSD
6.2, Apache 2.2.8 and PHP 5.2.1. It runs a high-ish number of pre- fork
processes (usually around 240).
What basically happens is that during our peak
as insufficient memory to keep most things in RAM, it is going
to use a lot of swap and that will slow things down considerably.
Dragon
~~~
Venimus, Saltavimus, Bib
t Perl for Windows from ActiveState for free.
Just go to http://www.activestate.com/
I know they try to sell it, don't let that stop
you. You CAN download and use it for free as I
believe it is covered under GPL or a similar
license.
ddEncoding x-gzip .gz
AddType application/xml .xml.gz
Or maybe the type needs to be text/xml, both are
valid MIME types for xml documents but I don't
know which is appropriate to what circumstance.
Dragon
~~~
Venimus,
Mohit Anchlia wrote:
On 6/4/08, Dragon
<<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:
André Warnier wrote:
Mohit Anchlia wrote:
2. Another question I had was sometimes we don't get real physical IP of the
machine but the IP of something that's in between like &q
uggest if any work around ?
\Vinay
End original message. -
There isn't a work around, that is how it operates. The first virtual
host block is always the default and will be served if no other host
name matche
the reasons.
This allows an organization to have a router with
one public IP address to serve a larger internal
network with private IP addresses. Without this,
we would have run out of IPv4 addresses a long time ago.
Dragon
~~
e with the
Apache version you are using now?
What does the error log say when you try to access one of these scripts?
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium c
at the OP is seeing a problem with the TCP/IP
sessions between the client and server being closed prematurely. Why
that is occurring is unclear. It is probably going to take some
low-level analysis of the packets to determine what is going on.
.
And no, I do not have your answer for you. Have you searched for what
you need? Have you looked at the Apache documentation on the
Apache.org site? Have you looked for documentation on the module you
wish to use?
Dragon
I am not mistaken, Apache only adds a header to define the default
character set if one is NOT provided in the generated content. It is
entirely possible that your Perl code is sending a different header.
Dragon
~~~
Venimus, Saltav
e set to
get both working?
PLEASE HELP !!
End original message. -
What do the Listen directives say for each virtual host?
Your non-SSL should be listening on port 80 and the SSL on 443.
D
Phil Pinkerton wrote:
The address is built from a Perl Script
End original message. -
So then the URL should be properly formatted by that script, if the
URL contains a special character, your script has the responsibility
of escaping it.
Dragon
point of that? If I had cached content, I
would want whatever is still valid to survive a restart of the server.
Dragon
~~~
Venimus, Saltavimus, Bibimus
ry in your
document hierarchy. By giving each cached file a unique name and
mapping the unique file name to the URI, the cache module will serve
the right one from the cached content.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribu
T methods. It ALLOWS all other methods without a valid user.
This opens you up to potential attacks. You want to remove the Limit
directives so ALL methods will require a valid user.
Dragon
~~~
Venimus, Saltavimus,
che.org/docs/2.2/mod/core.html
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
-
The o
table. If they value your skills,
hopefully they will also value your recommendations.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti
o hold
so many files in one place. It seems to me that this is rather
unwieldy and maybe even practically unusable.
I'd personally be thinking about better ways to organize it under a
hierarchical set of directories to keep the individual indexes from
being so cumbersome.
Just my
hp.net/
http://www.mysql.com/
http://www.apache.org/
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
u have
to rewrite URLs in the proxied pages and a few other things):
http://www.apachetutor.org/admin/reverseproxies
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium c
RSS feeds?
If so, you need an application that will do that and a source of
content for the feeds. Beyond that, I have no idea how to set it up
(that's application dependent, I am sure) or even where to find such
an application (though Google should help you there).
D
else where it is accessible?
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
---
erve it as text/plain. This is why you are
seeing "gibberish", the raw file is being rendered as plain text in
the browser.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et n
d original message. -
That means a copy of Apache is probably still running. You need to
make sure it is shut down before trying to restart it,
Since you are doing this in Windows, go into task manager and end any
Apache processes in the task list then restart
?
I've seen both used and I seem to recall that in IE (maybe other
browsers) that this type works and text/xml does not.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti
h some sort of
package manager like yum (or whatever Ubuntu uses for that).
--
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium
nted to look at the English version without
having to change language preferences.
Dragon
~~~
Venimus, Saltavimus, Bib
...' statement, the resulting page shows html code
(Firefox does not render the page).
Any ideas?
End original message. -
Your script needs to send a Content-type header. If you don't do
that, Firefox is assuming it is getting a text
find out whats the issue.
Please help me.
End original message. -
That looks to me like you have a script of some sort that is trying
to connect to mysql and is failing. Other than that, it is impossible
to tell anything else from just that mess
their parent, so
setting the variable in a wrapper before calling the other script would work.
The best way is to get your hosting provider to help you set what you
need in the main httpd.conf but if they won't do that, this will work.
D
d original message. -
As the person who replied to your first post mentioned, you use a
reverse proxy to do this.
Instructions on how you do it are here:
http://www.apachetutor.org/admin/reverseproxies
Dragon
~~
take more than about 3 clicks from the main Apache.org page
to find it.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti
rite.html#rewritemap
See the section on the page linked above entitled "External Rewriting
Program" for details and a skeleton Perl script you can add your
processing to.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus
you have the
reverse proxy configured in your httpd.conf file?
Which proxy modules are you using, etc.?
Having those configuration directives will allow
somebody (probably not me, I'm an amateur at this
stuff) to decipher what is happening.
Dragon
~
no real resemblance to a production environment.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
---
ow the script said it did, but you can't be certain without
checking) or if another instance of Apache or another server
application is running on port 443, you will see that exact sort of message.
Dragon
~~~
Venimus, Saltavimus,
CraigT wrote:
Thanks for responding Dragon. I added the JavaScript mime type to the HTTPD
file. I restarted the server and tried to load the external JavaScript
file into the .CGI process from the supra-directory (root) and a
subdirectory to the cgi-bin directory. The load from the root
CraigT wrote:
Hello,
I've built an app with Perl (5.8)/CGI, Javscript, and CSS. Its running on a
Windows XP Home (development box) using Apache 2. It is being handled by
mod_perl 2 with no errors.
My problem is that I can't load .JS files into Perl/CGI scripts running out
of the cgi-bin dir
t you need is to get a good book on Unix
system administration, hopefully one aimed at your particular OS.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti
will eventually give up but if they don't, look into
using a firewall to deny at the edge of your network.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribu
nstall
it without having root access.
However, if you want to run it on a privileged port (port number <=
1024), you have to have root access.
Even then, I am unsure if it will start under another user account
with a port number > 1024. I think it should but I don't reca
mpiled in a way that is incompatible with your exact configuration.
Also, why not use the latest version?
2.0.55 is rather old and there are even newer versions in that branch
with some rather significant fixes. However, I would recommend going
with 2.2.6 or something in that b
eeds is up to you to determine.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
---
es will be separate ports because each IP
address has its own set of ports that are not shared. In other words,
port 443 on IP 192.168.1.100 is not the same as port 443 on IP 10.3.67.24
Perhaps the requirement for a unique IP address is the source of
you will find any aid here.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus
sue. I would suggest finding a support
list or forum for the wiki software you are using and asking them.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribu
g a document in
PDF is without merit.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
actly what you want
with no fuss.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
---
o see that some people continue banging
away on the problem themselves even after having asked for help.
What's even nicer is when somebody who has done so comes back and
posts the solution to their problem so that others in a similar
situation might be able to take advantage of the
://www.php.net/
I will specifically point out that http://www.php.net/support.php is
where you should start.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus
this turns out to be an Apache specific configuration issue,
you may find better assistance on a PHP support forum.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium
st me the
stable version for apache.
End original message. -
If you are installing it as a new deployment, why are you not using
the latest released version?
The latest version right now is 2.2.6
D
to his pipe to the
Internet, starts cranking*
End original message. -
Nope, not unless you buy an MSDN subscription or the pro version of
the compiler.
But it's free, you just have t
that didn't
end in .html since the 80s. :-/
End original message. -
windows.h (and a whole bunch of other things you will need) are part
of the Windows SDK which you can download from Microsoft's MSDN web site.
Dragon
~~
it relies on the presence of that file and
that is a potential security hole if somebody forgets to include it
or deletes it thinking it is not needed.
Personally, I think fixing it in the configuration file is a better way to go.
Dragon
~~~
rite web applications. Those resources are a
better place to turn at this time than this list.
Dragon
~~~
V
me scripting or
install an application somebody else wrote that will do it.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus can
On Tue, September 18, 2007 18:27, Andrew WC Brown wrote:
> Hi, I'm new to this mailing list (waves).
>
> I'm running OS X.4.10 with Apache 2.2.6
>
> When I installed apache I was sure to --enable-module=shared so I could
> load
> DSOs.
>
> I let apache2 install to /usr/local/apache2. When I run ap
anner
you are is small to begin with and there may not be many of them
subscribed to this list.
Repeatedly posting demanding
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium c
On Mon, September 10, 2007 18:26, Yogsothoth GV wrote:
> On 9/10/07, Chris 'Xenon' Hanson <[EMAIL PROTECTED]> wrote:
>>
>> Yogsothoth GV wrote:
>> > Hello,
>> > Sorry previous email was sent before completion.
>> > Can I configure Apache to serve webpages using UDP as transport
>> protocol
>> ?
>>
function on TCP. So serving it via UDP is pointless if
you have no client that will accept HTTP over UDP.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus can
and though it does
assume an understanding of the httpd.conf file and configuration of
individual modules. However, even that is pretty basic stuff and
easily understood through a perusal of the Apache documentation
regarding modules.
Dragon
~~
restarting it. Until Apache is properly restarted, it will
not know anything about the changes you made.
The error message you are getting says to me that you have not
stopped Apache when attempting to do your restart.
When you say you are restarting it, how exactly are you doing so?
.html#directory
and:
http://httpd.apache.org/docs/2.2/mod/core.html#location
Dragon
~~~
Venimus, Saltavimus, Bibimus (et
sues.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
-
The official User-To-
cannot have any indentation on line 1 of your script as that is
the top level of coade and must have zero indentation until you enter
a new code block with a different execution scope.
Anyway, this is not an Apache issue any longer, you should read up on
python and its syntactical
. Both of those versions are still supported by Microsoft with
security and bug fixes and both are supported by the majority of
software vendors if they are doing Windows development.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus
imilar start-up scripting method as
the BSD distributions. At any rate, it would be something to ping the
Mac support lists about to see what they can do to help you.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus can
m source.
It's relatively painless for most Unix-style systems. It can't hurt to try.
If you do make the attempt, you might want to configure it to install
in a different location than where the existing version lives so you
can easily roll i
On Mon, August 27, 2007 16:20, Steve R Burrus wrote:
> All that I have tried to do was to integrate the PHP scripting language
> with
> the Apache Server, i.e., be able to view PHP files with the help of
> Apache.
> And my OS is Win XP Pro.
>
Please stop top-posting and trim your posts. It's rude
able to respond, you may not get an answer.
Reposting the next day with the exact same question is not going to
change anything, well, maybe it will, it will change (usually
negatively) the attitude of people who might be inclined to help othe
elinux that may be blocking your access?
It sure matches the symptoms one gets when selinux is the culprit on
a linux installation.
Dragon
~
tem with apache 2.2.3-4 and
logrotate 3.7.1-3.
End original message. -
Think outside of Apache.
Write a script in the language of your choice to do the log
compression and move the log files to an archive directory of your choice.
Run that script as a cron job that happen
erence.
End original message. -
I think your syntax is wonky. I think you want:
Header unset Content-Type
Header add Content-Type "text/html;charset=iso-8859-1"
Dragon
~~~
Venimus, Saltavimus
On Thu, August 9, 2007 16:27, Mar Pearly wrote:
>
> Hello,how are you all doing?
>
> well I am new here and i'm trying to set the Security Console MySQL &
> XAMPP Directory Protection through the url .
>
> My question might sound to you foolish but please forgive me...
>
> In the MySQL Section, 2
says
httpd is listening on 443.
Im baffled. What could I be over-looking?
Thanks
Birl
End original message. -
The site came up in my browser (IE7) but showed a certificate error.
The error is that the certificate is not signed by a trusted authority
ne virtual host and the other with the second virtual host.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
--
t on a non-trivial project,
it is a very powerful environment with a lot of good features.
The downside is having to learn a new language but it isn't a hard
one to learn.
Dragon
~~~
Veni
Joshua Slive wrote:
On 7/25/07, Dragon <[EMAIL PROTECTED]> wrote:
I am sure somebody will correct me if I am wrong but IIRC, invoking
httpd directly results in it continuing to run as the user that invoked it.
Consider yourself corrected ;-)
httpd always switches users for child pro
may have to use a
utility like checkcfg on Red Hat systems or your system's equivalent
to enable the startup on boot.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti
doing what you think they are.
Dragon
~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~
-
1 - 100 of 135 matches
Mail list logo