Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Frank Gingras
On 19/10/11 01:01 PM, Georgi Georgiev wrote: http://pastebin.com/TpRkeaVq some lines are commented (but tryed and when teh were uncommented - just experiments) Georgi, Best move the DirectoryIndex directive out of the block. Also, you keep remove the history from this thread, and it makes

Re: [users@httpd] Windows 7 DocumentRoot directive not working

2011-10-19 Thread Robert Waligora
I found the issue. I edited the httpd.conf file with textpad. But, textpad wasn't running as administrator. So, my changes were saved in an unknow user location. Every time I opened the httpd.conf file, it opened my personal version instead of the file, not the real file. So, my changes were never

Re: [users@httpd] Windows 7 DocumentRoot directive not working

2011-10-19 Thread Serge Fonville
Hi, Assuming you restarted apache after changing the httpd.conf.. What output do you get from: httpd.exe -S sc query | find /i "apache" tasklist /fi "Imagename eq httpd.exe" /svc HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Google!! They need to

Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Georgi Georgiev
http://pastebin.com/TpRkeaVq some lines are commented (but tryed and when teh were uncommented - just experiments)

[users@httpd] Windows 7 DocumentRoot directive not working

2011-10-19 Thread Robert Waligora
I installed Apache 2.2.21 on Windows 7 machine. Test "It Works" page is displayed. I changed the following in httpd.conf: DocumentRoot "e:/webroot/" I created "webroot" folder on e drive (also tried with c drive and without ending slash). Put a sample index.html file in that folder with a differ

Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Frank Gingras
On 19/10/2011 12:26 PM, Georgi Georgiev wrote: I have domain (documentroot - /var/www/htdocs) and subdirectory wordpress, but when open it with browser ...//wordpress it lists the .php files (example wp-config, wp-login.php etc) instead of loading the page. Previously solved the problem as put Di

Re: [users@httpd] Windows 7 httpd.conf setting saved after un-install

2011-10-19 Thread Marcin 'Rambo' Roguski
> Can anyone explain the Windows Miracle? Because, really, I would like a > clean httpd.conf file so I can start over. You need to escalate your rights to administrator, like running notepad as administrator. Otherwise window saves "user copy" of the file. ---

[users@httpd] Windows 7 httpd.conf setting saved after un-install

2011-10-19 Thread Robert Waligora
First, I'm a seasoned professionaly and I know (mostly) what I'm doing. That said, I'm experiencing very strange behaviour with Apache 2.2 on Windows 7 machine. I uninstalled Apache because I couldn't get the DocumentRoot directory to work. I deleted the Apache2.2 directory from my hard drive. I e

Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Georgi Georgiev
I have domain (documentroot - /var/www/htdocs) and subdirectory wordpress, but when open it with browser ...//wordpress it lists the .php files (example wp-config, wp-login.php etc) instead of loading the page. Previously solved the problem as put DirecoryIndex, but now whatever I try to do when op

Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Frank Gingras
On 19/10/2011 11:42 AM, Georgi Georgiev wrote: After edit the same thing... Whether the problem may be in other section (or line) to post it here or php..and I don't know. Searched, reading documentation, asking people - not found solution.. Georgi, What is happening, exactly, and what did yo

Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Georgi Georgiev
After edit the same thing... Whether the problem may be in other section (or line) to post it here or php..and I don't know. Searched, reading documentation, asking people - not found solution..

Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Frank Gingras
On 19/10/2011 11:03 AM, Georgi Georgiev wrote: I have that lines on the config, but the result is same. One person sayed here that ifmudule line is wrong. Whether the problem may be here? I added new lines so there is # # Order allow,deny # Deny from all # Satisfy All # SetHandler

Re: [users@httpd] directoryindexing or what?

2011-10-19 Thread Georgi Georgiev
I have that lines on the config, but the result is same. One person sayed here that ifmudule line is wrong. Whether the problem may be here? I added new lines so there is # # Order allow,deny # Deny from all # Satisfy All # SetHandler application/x-httpd-php SetHandler application/x-

Re: [users@httpd] A CGI test program with a misterious error

2011-10-19 Thread Eric Covener
> The problem is: this programs work in the machine of everyone testing it. So > I can imagine the problem is due a Pascal code. It is necessarily due to > another fact. If the issue is the "exec format error", the question would be if/how you run it outside of a CGI on the affected machine. This

RE: [users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost

2011-10-19 Thread Eduard B
Yes! In a directory container it runs as desired! With this in each virtualhost there is a default robots.txt if the user don't put any robots. Thanks! > Date: Wed, 19 Oct 2011 07:49:21 -0400 > From: cove...@gmail.com > To: users@httpd.apache.org > Subject: Re: [users@httpd] Rewrite rules wor

Re: [users@httpd] A CGI test program with a misterious error

2011-10-19 Thread Luciano de Souza
Yes, I was able to understand this log if the same files shouldn't have run in the machine of a friend. In this case, certainly, it would have an error in Pascal code. I could ask in a Pascal list and someone could recognise the error. The problem is: this programs work in the machine of every

Re: [users@httpd] A CGI test program with a misterious error

2011-10-19 Thread Marcin 'Rambo' Roguski
> Well, in Pascal, it's not possible since it was compiled. The log says apache is confused about the file alone The other issue I see is that your script don't output http headers - they should send at least "Content-Type" header.

Re: [users@httpd] A CGI test program with a misterious error

2011-10-19 Thread Luciano de Souza
If I understood, you are questioning that in the first line of my codes, I dont't have a line like: #!/usr/bin/env lua #!/usr/bin/env python Well, in Pascal, it's not possible since it was compiled. My english is really not very well, so I can have understood wrongly. If I understood, y

Re: [users@httpd] A CGI test program with a misterious error

2011-10-19 Thread Marcin 'Rambo' Roguski
> sudo chmod +x file Shouldn't you add interpreter line as well? #!/bin/interpreter - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsub

[users@httpd] A CGI test program with a misterious error

2011-10-19 Thread Luciano de Souza
Hello listers, This is my first message. I am trying to walk the first steps in web development, so I am pleased to enter in Apache's world. I have two test CGI programs writen in Pascal. The first one writes some input using "writeln". The second one uses specific CGI classes. The first run

Re: [users@httpd] Re: SSL certificates and virtual hosts

2011-10-19 Thread Nick Tkach
As long as you don't need to support certain browsers. IIRC Android < 2.2 for example won't support wildcard certs. Sent from my iPhone On Oct 18, 2011, at 7:00 PM, Andrew Schulman wrote: >> Our website account with our ISP has one fixed IP address and allows >> a number of virtual hosts. Th

Re: [users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost

2011-10-19 Thread Eric Covener
On Wed, Oct 19, 2011 at 7:49 AM, Eric Covener wrote: > In vhost context, rewriting happens before aliases are resolved. > In htaccess context, it happens after. You can use in httpd.conf and get the later behavior. > > I don't understand your issue, but that seems to be the cause. > -- Eric

Re: [users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost

2011-10-19 Thread Eric Covener
In vhost context, rewriting happens before aliases are resolved. In htaccess context, it happens after. I don't understand your issue, but that seems to be the cause. - The official User-To-User support forum of the Apache HTTP S

Re: [users@httpd] apache seems to be busy

2011-10-19 Thread Tom Evans
On Wed, Oct 19, 2011 at 7:52 AM, Petr Hracek wrote: > Hello Tom, > > as you mentioned I need to do stress test of the application. > How to do that for SSL connection? > > best regards > Petr > ab, siege, flood, jmeter, grinder, httperf, OpenSTA, curl-loader, Spirent Avalanche (not free)… Cheers

[users@httpd] Rewrite rules working properly in the htaccess but no in the virtualhost

2011-10-19 Thread Eduard B
Hello, Im 'having problems with the following rewrite rules. If I put this rewrite rules on the .htaccess in the document root of the virtual hosts, the rules work properly showing a robots.txt if the user don't has one. But when I try to put the rules in the virtualhost it looks like I can't