[users@httpd] Re: Unable to connect to Apache test website on LocalHost

2022-04-12 Thread Jonesy
On Tue, 12 Apr 2022 17:12:16 -0400, DiversityLink/Milt Spain wrote:
>
> Apache2.4 installed and operating on Widows 7. Test site is loaded at =
> C:\Apache24\htdocs\testsite.com. Site index is loaded in the =
> testsite.com folder as index (an htm file). Virtual Hosts is set up as:
>
>
>=20
> ServerAdmin a...@example.com
> DocumentRoot"C:Apache24/htdocs/"
> ServerName testsite.com
 
What I do: 

  ServerName testsite.tst

In /etc/hosts:

192.168.0.17www.testsite.tst testsite.tst

In my case(s) the testsite.tst matches up with my production 
testsite.com (or .net , .org , etc.) which is hosted elsewhere.

HTH
Jonesy
-- 
  Marvin L Jones| Marvin  | W3DHJ.net  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy |  FreeBSD
* Killfiling google & banter.com: jonz.net/ng.htm


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Testing a pre-live website triggers redirection

2022-03-22 Thread Jonesy
In gmane.comp.apache.user, you wrote:
>
> I am trying to test a subdomain hosted in a hosting service while
> simultaneously running the same subdomain in an in-house server,
> by adding an entry to the hosts file.
>
> The idea is to make my test client (a windows 10 desktop) think that the su=
> bdomain being tested resolves to the IP address I added in the hosts file,
> not the global IP address that the authoritative DNS returns.=20
>
> Is it possible?

What I do to support my website(s) is to use the below URL/Domain Name
scheme:

https://example.com for the (obviously) remotely hosted website
https://example.tst for the local copy/devl of the website.

 ... and enter example.tst (and www.example.tst) in /etc/hosts
I employ *no other* complexity.

It might be tedious,but /etc/hosts could also contain entry lines for

https://a.example.tst 
https://b.example.tst
https://c.example.tst
https://etc.example.tst

I can move back and forth (and step on my dick) by merely over-typing the
tst/com glyphs.

HTH
Jonesy
--
  Marvin L Jones| Marvin  | W3DHJ.net  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy |  FreeBSD
* Killfiling google & banter.com: jonz.net/ng.htm


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: 500 Internal Server Error

2021-02-16 Thread Jonesy
On Mon, 15 Feb 2021 18:40:19 -0500, Will Fatherley wrote:

> Should be /var/log/apache2

I usually cannot remember, myself,  when I run into such an error.  
So...

$ locate /log/ | grep apache

... and all will be revealed.  :-)

Jonesy
-- 
  Marvin L Jones| Marvin  | W3DHJ.net  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy |  FreeBSD
* Killfiling google & banter.com: jonz.net/ng.htm


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: acme-challenge folder exists but 404 contents

2018-12-25 Thread Jonesy
On Tue, 25 Dec 2018 00:49:41 -0600, Jerry Malcolm wrote:
> --5C1A8A0DD708D3B6F6BE8489
> Content-Type: text/plain; charset=utf-8; format=flowed
> Content-Transfer-Encoding: 8bit
>
> Update... I finally went back to my Sept conf and vhosts files. With the 
> old configuration files, acme-challenge folder became available again.  
> So I was able to get my certs refreshed, and I then restored the current 
> conf files.  That at least tells me it's something in the conf files.  
> But I really don't want to make this my official process every three 
> months when I refresh the certs. I guess I'll start with an A-B 
> comparison of the conf files.  But the only real significant change I 
> can remember in the last three months was enabling http 2.0.  Doesn't 
> seem to me that anything in that area of config would be locking out 
> folders with certain names (??).  In any case, I can brute-force this 
> and back out changes one by one.  But if any of you have a hint as to 
> what could be happening causing one specifically-named folder to be 
> blocked (or a way to dig deeper into logs to figure it out), it'll save 
> me a lot of time and effort.
>
> Thanks.
>
> Jerry
>
>
> On 12/24/2018 11:18 PM, Jerry Malcolm wrote:
>>
>> I have an apache install that has been up and running for months.  I 
>> use LetEncrypt for certificates.  I went to renew all of my 
>> certificates using an automated script that worked fine 3 months ago 
>> on the last refresh.  It failed on every domain saying the challenge 
>> file was not found.  I put a test.html file in 
>> /.well-known/acme-challenge folder, and tried to access it with a 
>> browser, and it gave me a 404.  After moving the test.html file around 
>> into other folders, it was found correctly in every folder except 
>> acme-challenge.  I even renamed acme-challenge to acme-challenge1 and 
>> acme1challenge, and test.html was found in folders by those names.  
>> Renamed it back to acme-challenge and I'm again getting 404.  I have 
>> about 15 virtual hosts defined.  Exact same situation in every virtual 
>> host  The folder specifically named "acme-challenge" is somehow now 
>> being blocked or hidden by apache.
>>
>> I'm using WAMP 3.1.3 (Apache 2.4.33).  The only .htaccess file in the 
>> entire wamp tree is in the php folder, and I'm not using php.  I'd say 
>> I haven't made any changes that would cause this problem since the 
>> last time I refreshed certificates.  But I guess I did 'something'.  
>> But I'm clueless.
>>
>> One thing I did notice In the browser, if I look for a 
>> non-existent file in any other folder, I get one 404 line saying the 
>> requested file was not found on the server.  Fine.  But when I look 
>> for that same non-existent file in the /.well-known/acme-challenge 
>> folder, I get that same line.  But I also get another line I haven't 
>> seen before that says:
>>
>> Additionally, a 404 Not Found error was encountered while trying to 
>> use an ErrorDocument to handle the request.
>>
>> So not only can't find the file, it can't find a file to tell me it 
>> can't find the file... (???). But this line ONLY appears when trying 
>> to get a file from that one specific directory named 'acme-challenge'.
>>
>> Help certs have expired
>>
>> Thanks.
>>
>> Jerry

Well, just from the data you've shown, your _only_ failing 
directory  (.../.well-known/acme-challenge/)  jumps out as the 
only example in your testing that has a hyphenated directory name. 

Maybe a red herring.
Jonesy
-- 
  Marvin L Jones| Marvin  | W3DHJ.net  | linux
   38.238N 104.547W |  @ jonz.net | Jonesy |  FreeBSD
* Killfiling google & banter.com: jonz.net/ng.htm


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: SFTP JAIL

2018-01-16 Thread Jonesy
On Tue, 16 Jan 2018 12:37:27 -0200, Rodrigo Cunha wrote:
>
> but Jail is important for many apache users, 

So is beer.


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Update HTML files every 1 sec by getting info from another application.

2017-03-28 Thread Jonesy
On Tue, 28 Mar 2017 09:23:47 -0400, Mark H. Wood wrote:
> On Mon, Mar 27, 2017 at 10:36:59PM +0300, Zvi Vered wrote:
>> My target is an embedded PC which runs windows \ linux.
>> The target contains HTML pages that are displayed in the host using httpd.
>>=20
>> The problem: The data in the HTML pages is updated (every 1 sec) by
>> another application that runs on the target.
>>=20
>> This application collects some telemetry info from the target. This
>> info should be displayed some how in the HTML pages.
>>=20
>> What is the right way doing this ?
>>=20
>> The HTML project contains also angular 2 java script files.
>
> Well, What's the Simplest Thing That Could Work?  The collector could
> write out the HTML pages each time it takes a sample. 

XML ?

Jonesy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: am i hacked ?

2017-02-06 Thread Jonesy
On Mon, 6 Feb 2017 20:17:00 +0100 (CET), Lentes, Bernd wrote:

> Why has the request status code 200 ?

Because the request was for the root document: "/"
The rest of the crap was a malicious query string that -- if
your root doc was .php, AND if your php version was vulnerable --
_might_ have executed and done damage.

So, 200 == it successfully fetched the root document.

Jonesy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Test mail

2016-07-27 Thread Jonesy
BIG Fail.  Not only did it show up here - in gmane.comp.apache.user - 
instead of a test group, it consisted of a mass of html and css.

On Wed, 27 Jul 2016 07:14:48 +, Kothapalli, Suresh wrote:
> --_000_CS1PR84MB0216D5320D88415D03FB9640ED0F0CS1PR84MB0216NAMP_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
>
>
> --_000_CS1PR84MB0216D5320D88415D03FB9640ED0F0CS1PR84MB0216NAMP_
> Content-Type: text/html; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml; xmlns=3D"http:=
> //www.w3.org/TR/REC-html40">
>
>>
>
>
>
>
>
>
>
>
>
>
> --_000_CS1PR84MB0216D5320D88415D03FB9640ED0F0CS1PR84MB0216NAMP_--
>


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Strange access.log entry...

2016-07-09 Thread Jonesy
On Fri, 8 Jul 2016 15:51:27 -0700, Red-Tail Books wrote:
> --D86F2E214EC5EE5DBED2B3B9
> Content-Type: text/plain; charset=utf-8; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Wow Ken, Thanks for the thorough research. I just did a whois and 
> figured it wasn't an attack.
>
> But being a complete rookie (no experience with linux or servers prior 
> to creating a droplet on DO 2 weeks ago)
> I was curious to not see any request prefix (GET|POST|CONNECT...etc...) 
> and then I saw that the request was successful (status 200) instead of a 
> 404. And what 11k of data did my server send in response...
>
> In 13 days of logs this IP has only hit my server once and this is the 
> only time I've seen such a request... So no issue with their legitimate 
> research...

All well and good, I suppose.  
I still wonder why the fetch resulted in a "200 OK".


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Logs: How to find 403 forbidden error.

2016-04-08 Thread Jonesy
On Fri, 8 Apr 2016 11:09:55 -0400, Francis Roy wrote:
> I have a user that is complaining that a PHP script (a Wordpress plugin) 
> is complaining that there's a 403 error. I've looked in my logs and 
> can't find it. Maybe I'm doing it wrong.
>
> My logs are at /var/log/httpd and I'm looking at both access_log and 
> error_log (or some of the preceding ones.)
>
> I want to find out what the plugin is trying to access, to see why it's 
> getting a 403. Can someone offer a tip?

Could it be possible that the plugin is getting a 403 from
an _external_ fetch attempt?  I.e., the 403 is in the logs
of a server somewhere else on the planet.

Jonesy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Support for http return code 451?

2016-02-09 Thread Jonesy
On Tue, 09 Feb 2016 13:29:21 +0100, Michael Renner wrote:
>
> are there plans to support the new return code 451 (Unavailable For 
> Legal Reasons)?

Me?  Here?  No, I have no plans to support the new return code 451.


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Possible virus via httpd server

2016-01-06 Thread Jonesy
On Mon, 04 Jan 2016 15:41:45 -0500, Michael D. Berger wrote:
> I tried the submission you suggest.  It said it is an executable file,
> suitable for my Linux box.  I don't think I am about to run it.  Note that
> my ESET NOD32 virus software finds nothing wrong with it.

Run `strings` on it.  Anything "interesting"?

Jonesy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Help configure non-SSL webpages on an SSL site?

2015-09-15 Thread Jonesy
On Tue, 15 Sep 2015 18:12:24 -0400, . wrote:
>
> I am a novice website admin, running Apache 2.4.7 on a Ubuntu box. I 
> want to be able to serve a subset of my website as http (port 80), even 
> though the overall site is on https (port 443).  I managed to convert it 
> all to https this summer by providing links in 
> /etc/apache2/sites-enabled/ to sites-available/default-ssl.conf and 
> sites-available/http-redirect.conf.  The redirect just permanently 
> redirects everything to use https.
>
> I tried adding another VirtualHost for port 80, with a DocumentRoot 
> pointed at my "freely-available" subdirectory.  That seemed to work, but 
> the problem is that if somebody just browses to that subdirectory, they 
> get a directory listing that includes a hyperlink to the parent 
> directory.  By clicking on that hyperlink, they can escape into the rest 
> of the website using http instead of https.
>
> I suspect there's a "proper" way to do this, but I don't know what it 
> is.  Any help, or pointers, would be appreciated.

$ cat index.html



I put that in every sub-directory that I do not ever want folks poking 
around in. /images , /scripts , /includes , /temp ... whatever. 

Additionally, each sensitive directory's ,htaccess could include:
Options -Indexes 

But, Murphy's Law tells us that someday a critical .htaccess will get  
bollixed.

In your httpd.conf you can remove the "Indexes" option from the likes 
of:
Options Includes Indexes FollowSymLinks MultiViews

That'll do it globally.
But, Murphy's Law tells us that someday a the httpd.conf will get
bollixed.

So, I also put 


in every sub-directory that I do not ever want folks poking around in.

Too bad you don't have access to Google in your section of the internet.
Jonesy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Making delay in apache

2013-12-31 Thread Jonesy
On Tue, 31 Dec 2013 22:12:22 +0330, Ali Majdzadeh wrote:

 Samaneh,
 Hi
 I am not aware or even heard of such a configuration option, but if you
 require Apache not to process requests for a specified amount of time, you
 can use iptables in order to block traffic coming for port 80 for 10
 seconds and release it after the job is done.

During which time the Google, Bing and Yahoo spiders will visit 
and remove your web site(s) from search results.



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Making delay in apache

2013-12-31 Thread Jonesy
On Tue, 31 Dec 2013 23:01:00 +0330, Ali Majdzadeh wrote:

 Jonesy,
 Of course, but does this make any difference if you force Apache not to
 process requests for a specified amount of time?

If you are going to take a web site offline, you should serve up 
something besides 404's, or domain unreachable -- unless it's 
just a vanity|hobby web site, I suppose.

 503 Service Unavailable
The server is currently unavailable (because it is overloaded 
or down for maintenance).[2] Generally, this is a temporary state. 

Jonesy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Single User DoS. How is this happening?

2013-09-25 Thread Jonesy
On Tue, 24 Sep 2013 11:37:47 -0600, Ryan Merrell wrote:
 We've had a problem occur maybe 5 times over the last year where a
 single user is DoS'ing our web server (unintentionally) and I'm having
 a hard time figuring out how it's happening.

A rouge toolbar on the client?
I just loathe those helpful toolbars that are pushed to the klewless.

Jonesy
-- 
  Marvin L Jones| jonz  | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
* Killfiling google  banter.com: jonz.net/ng.htm


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: This list really helps!

2013-02-17 Thread Jonesy
On Sun, 17 Feb 2013 13:09:10 +0100, Bernard T. Higonnet wrote:

 Sometimes the list helps in unexpected ways...

 I had been struggling with content negotiation and wanted to appeal to 
 the list.

 In an attempt to provide readers with useful information, I was about to 
 add stuff from server-info and BAM! I saw my mistake. I had read the 
 info provided for mod_negotiation.c but this time because I was being 
 more carefully about bothering everybody foolishly, I read it correctly.

 Thanks to you all!

Glad to help!   :-)


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: Denying access to a folder while allowing the content inside it to be displayed on other pages?

2012-07-19 Thread Jonesy
On Tue, 17 Jul 2012 18:32:13 -0400, Ryan Bowman wrote:

 I guess I would like to deny access to the index. 

In everyone of my /images directories (and, some others) I put:

HTMLHEAD/HEAD
BODY BGCOLOR=#CC0033 /BODY/HTML


I do this to cover the exposure to the web host(s) from flip-floping 
the Indexes option on any server re-configuration or upgrade.
Got exposed that-a-way one time years ago

 But I also don't want
 people to be able to view my global.css file, which every page is linked to
 and is in the directory /css. 

They _have_ to have access to it!  The browser (the user) has to 
download the css file to apply it.  But, you could put the dummy
index.html in css/ to thwart people who would attempt to easily 
browse all your css files.

Jonesy


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: IE8 thinks SHTML is text.html

2012-01-28 Thread Jonesy
On Fri, 27 Jan 2012 15:58:39 -0600, Christos Jonathan Hayward wrote:

 P.S. The headers are:

 GET http://simplyclassicremodeling.com/ HTTP/1.0

 HTTP/1.1 200 OK
 Date: Fri, 27 Jan 2012 21:57:54 GMT
 Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.9-dev DAV/2
 PHP/5.2.6
 Accept-Ranges: bytes
 Cache-Control: max-age=3D2592000, public
 Expires: Sun, 26 Feb 2012 21:57:54 GMT
 X-UA-Compatible: IE=3DEdge,chrome=3D1
 Connection: close
:
:
 Content-Type: text.html
^
Hell-OO-OO! !



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Re: replacing html form?

2011-09-02 Thread Jonesy
 --0-2127215516-1314835678=:24813
 Content-Type: text/html; charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable

sigh...

htmlbodydiv style=3Dcolor:#000; background-color:#fff; font-family:ve=
 rdana, helvetica, sans-serif;font-size:10ptdiv style=3DRIGHT: autoHel=
 lo,/div
div style=3DRIGHT: autonbsp;/div
div style=3DRIGHT: autoThis is not exactly related to Apache, but i cou=
 ld not find where to post this question: (if you know any good HTML mailing=
  list kindly let me know)VAR id=3Dyui-ie-cursor/VAR/div
div style=3DRIGHT: autonbsp;/div
div style=3DRIGHT: autois 'html form'nbsp; the only way to get data fr=
 om user?/div
div style=3DRIGHT: autonbsp;/div
div style=3DRIGHT: autolt;form name. gt;/div
div style=3DRIGHT: autolt;/formgt;/div
div style=3DRIGHT: autonbsp;/div
div style=3DRIGHT: autocan't we use something else?/div
div style=3DRIGHT: autonbsp;/div
div style=3DRIGHT: autothank you./div
div style=3DRIGHT: autoRajeev/div/div/body/html

Sure.  Ask the user to append to the URL in the location bar.

  [http://www.example.com?response=data_DATA_Data_dAta_daTa_datA
 ^^^

heh...


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: still see .htaccess and .htpasswd trough virtual host

2010-07-09 Thread Jonesy
On Fri, 9 Jul 2010 08:14:44 +0530, J. Bakshi wrote:

 any clue please ?

 #
 # The following lines prevent .htaccess and .htpasswd files from being
 # viewed by Web clients.
 #
 Files ~ ^\.ht
 Order allow,deny
 Deny from all
 /Files

FWIW I'm using:
  :
  |FilesMatch ^\.ht
  |Order allow,deny
  |Deny from all
  |Satisfy All
  |/FilesMatch
  :
  _after_ all other Files ... directives.  WFM

HTH
Jonesy
-- 
  Marvin L Jones| jonz  | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
* Killfiling google  banter.com: jonz.net/ng.htm


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: DNS Servers problem

2010-06-07 Thread Jonesy
On Mon, 7 Jun 2010 06:15:05 -0700 (PDT), Peter Maguire wrote:

I am trying to find the DNS Server IPs for my computer. I tryed 
ipconfig /all and the tcp/ip settings but still no luck. This is the 
first time I've ever attempted to use my domain on my computer so if 
I'm missing somthing out just tell me thanks.

Gee, I wonder what operating system you might be using

On my linux box it's:

$ cat /etc/resolv.conf


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: DNS Servers problem

2010-06-07 Thread Jonesy
On Mon, 7 Jun 2010 14:11:07 + (GMT), Peter Maguire wrote:

It did give me 1 DNS server IP but you need 2. 
I will look again and see if I'm missing any.

You do not _need_ two.  But, if you only have one defined -- and 
it falls over -- there is no additional DNS IP(s) to switch to.

Jonesy
-- 
  Marvin L Jones| jonz  | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
* Killfiling google  banter.com: jonz.net/ng.htm


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: hitting apache across home network with hosts file

2010-01-29 Thread Jonesy
On Thu, 28 Jan 2010 14:29:20 -0600, Matthew Smith wrote:
 --0016e6d64956eaf544047e3f60b6
 Content-Type: text/plain; charset=ISO-8859-1

 I understand that.  I am only trying to access the server from the windows 7
 machine.

 To clarify:
 server, 192.168.1.2, running apache

 Windows 7 machine, hosts file modified to:
 192.168.1.2 mysite_com
 Windows 7 machine unable to load http://mysite_com/ in browser.

h...
Something un-obvious is working against you

We are webmasters for a number of web sites here.
They are variously example.com , or .net , or .org

In the hosts file on the windows and linux boxen here we have:

192.168.1.35www.example.tst example.tst
192.168.1.35www.example2.tst example2.tst
192.168.1.35www.example3.tst example3.tst
192.168.1.35www.example4.tst example4.tst

 for all the various domains -- pointing to a local box running LAMP 
with all the domains replicated thereon.  IJFW here.

Perhaps your browser(s) are attempting to be 'helpful' and are adding 
the .com suffix to the truncated domain name in the location bar? (By 
default, most do that.)  That would result in a dns lookup failure.  
Perhaps the error reporting back to you in the browser is not specific 
enough -- telling you it could not find mysite_com -- when, indeed, it 
could not find mysite_com.com.

HTH
Jonesy
-- 
  Marvin L Jones| jonz  | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
* Killfiling google  banter.com: jonz.net/ng.htm


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: Mod_Rewrite voodoo

2010-01-06 Thread Jonesy
On Thu, 7 Jan 2010 08:23:12 +1100, Igor Cicimov wrote:

 One more thing, it will work for this century only since 20xx is hard coded
 in the rule. Thought should mention it although it's not going to be your
 problem in 2100 haha

Actually, it will.  
2100 is the last year in *this* century of the Common Era.



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: .htaccess does not work {for me}

2009-09-11 Thread Jonesy
On Thu, 10 Sep 2009 15:04:06 -0400, testwreq wreq wrote:

 I figured out the small typo ...

In this business there is _no_ small typo


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: Bizarre problem running CGI script

2009-09-06 Thread Jonesy
On Sat, 05 Sep 2009 17:07:09 -0500, John M. Dlugosz wrote:
 Frank Gingras francois.gingras-at-gmail.com |Apache mailing list| wrote:
 You should post your question again, perhaps someone will answer it 
 this time!

 Why?

WHMTS: You should post your question a third time, 

Clever and cute don't always come through clearly in a digital world.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: Files not found

2009-03-31 Thread Jonesy
On Tue, 31 Mar 2009 23:10:18 +0100, bruno wrote:

 I have installed apache 2.2 on my computer and start server but only I
 can launch index.html on the browser. When I try to load other file
 browser show me error Not found.

What's in the location bar?

http://127.0.0.1/   ?

 -or-

file:///path/to/index.html  ?



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Re: how to prevent mp3 downloading ?

2009-03-20 Thread Jonesy
On Fri, 20 Mar 2009 18:37:16 +0530, J. Bakshi wrote:
- snip -
  there is a
 flash plugin which plays the mp3 online. But the source of the page
 shows the link and if you place the link in the browser the browser
 downloads it. I like to stop it.

Just how the bloody hell do you think the mp3 is played in the flash 
plugin to begin with?  *The mp3 file is _downloaded_ and played!*

You can make it hard(er) for most casual web surfers to 'steal' your mp3 
files.  But, you _cannot_ prevent the more experienced web user from 
doing it.

Go ahead: implement all the snake oil offered in this thread and then 
come back and dare anyone to snag a copy of your mp3.

The best advice was already given you:  If you don't want anyone 
snatching a copy of your mpeg videos, do *not* upload them to your web 
server.

Jonesy
-- 
  Marvin L Jones| jonz  | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
* Killfiling google  banter.com: jonz.net/ng.htm


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: apache

2008-12-15 Thread Jonesy
On Mon, 15 Dec 2008 15:10:19 -0500, Brian Mearns wrote:
 Sorry, I can't help with your problem, I just wanted to give a little
 friendly advice about posting to the mailing list: The subject of your
 email is apache, which has an entropy of almost 0. 

Yes, one should always use the tried and true Subject: help!!!  :-)


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[EMAIL PROTECTED] Re: Customized 403-404 error pages

2007-06-30 Thread Jonesy
On Sat, 30 Jun 2007 07:51:29 -0400, Joshua Slive wrote:
 On 6/30/07, Nanu Kalmanovitz [EMAIL PROTECTED] wrote:

 # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
 ErrorDocument 403 \
 http://www.kalmanovitz.co.il/k_comm/Templates/Error_Pages/403_Access_forbidden.HTM

 # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
 ErrorDocument 404 \
 http://www.kalmanovitz.co.il/k_comm/templates/Error_Pages/404-NOT_FOUND.htm

 How can I set it to display my error pages and log the error codes too?

 Look at the docs for the Errordocument directive, and in particular
 the big box about the consequences of using an absolute URL. You can
 probably fix your problem simply by deleting everying up to co.il in
 the ErrorDocument target.^^

ITYM: everything up _through_.

Jonesy


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Re: apache/linux newbie has Test Page that won't die

2007-02-08 Thread Jonesy
On Thu, 8 Feb 2007 15:11:48 -0500, Urijah Kaplan wrote:

 Any suggestions?

Browser cache?

Jonesy
-- 
  Marvin L Jones| jonz  | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
*** Killfiling google posts: http://jonz.net/ng.htm


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Re: .htaccess LogOn Oddity

2007-01-31 Thread Jonesy
On Mon, 29 Jan 2007 11:09:30 -0500, Bob Cohen wrote:

 I password protect some areas on some web sites on my server  
 using .htaccess.  I'm currently running httpd 2.0.49 compiled from  
 source on a RedHat 7.3 web server.  For some reason unknown to me,  
 the logon screen never works on the first try.  I'll fill out  
 authentication dialog box, execute it, and the Authentication  
 Required box reappears.  If I re-enter the information a second  
 time, the authentication works. 

Somewhat OT:  I always fear a man-in-the-middle attack when something 
like that happens to me in any authentication process.  To date it's 
always been a snafu of some sort on the other end or a fat-finger 
problem on my end.  But, no doubt, someday .

Jonesy
-- 
  Marvin L Jones| jonz  | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
*** Killfiling google posts: http://jonz.net/ng.htm


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]