Apache Server configuration support - apache on XP, HTML files don't work in cgi-bin and .htaccess problem

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > November 2006 > apache on XP, HTML files don't work in cgi-bin and .htaccess problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author apache on XP, HTML files don't work in cgi-bin and .htaccess problem
PGPS

2006-11-03, 1:19 pm

Hi,
I have installed apache (latest version) on my Windows XP home
desktop. I have two problems:

1. I cannot get HTML files working in cgi-bin directory. I read that
the server expects only executables in that directory. I can get it
working under htdocs. However, can someone suggest the procedure to
configure it to get it working under cgi-bin

2. I had a .htaccess and .htpassword file working on a LINUX server
hosted by someone else. I just had an account on that server. If I copy
these files into the directory I want to restrict access, it doesn't
work. Any idea, how to do this on XP?

Thanks.

HansH

2006-11-03, 7:24 pm

"PGPS" <premgrps@gmail.com> schreef in bericht
news:1162580105.283640.55180@m73g2000cwd.googlegroups.com...
> 1. I cannot get HTML files working in cgi-bin directory. I read that
> the server expects only executables in that directory. I can get it
> working under htdocs. However, can someone suggest the procedure to
> configure it to get it working under cgi-bin

I'ld rather strongly advise against putting non-executables in /cgi-bin ...
If you ever want to host this site at some shared host with some provider,
they WON'T EVER make these changes for you.

> 2. I had a .htaccess and .htpassword file working on a LINUX server
> hosted by someone else. I just had an account on that server. If I copy
> these files into the directory I want to restrict access, it doesn't
> work.

'doesnt work' means access4all or access4none?

> Any idea, how to do this on XP?

At least rebuild the .htpasswd as the encryption used on Linux is not
available at Windows.
Using md5 encryption the newly created file is to work on both sysytems
http://httpd.apache.org/docs/2.0/programs/htpasswd.html

Check your .htaccess IS being processed.

HansH


PGPS

2006-11-03, 7:24 pm

Thanks. Can anyone tell me how to make a file/folder to be world
writable on Windows XP home. I moved my files from cgi-bin to htdocs,
but one of the folders has all the logs. My programs are not able to
open the files to write.

Thanks.


HansH wrote:
> "PGPS" <premgrps@gmail.com> schreef in bericht
> news:1162580105.283640.55180@m73g2000cwd.googlegroups.com...
> I'ld rather strongly advise against putting non-executables in /cgi-bin ...
> If you ever want to host this site at some shared host with some provider,
> they WON'T EVER make these changes for you.
>
> 'doesnt work' means access4all or access4none?
>
> At least rebuild the .htpasswd as the encryption used on Linux is not
> available at Windows.
> Using md5 encryption the newly created file is to work on both sysytems
> http://httpd.apache.org/docs/2.0/programs/htpasswd.html
>
> Check your .htaccess IS being processed.
>
> HansH


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com