Operating Systems > Linux and UNIX

apache again

(1/5) > >>

Master of Reality:
well... i re-installed redhat 7.3 and i cont get apache to work now. I think my httpd.conf is close to what i had it before. I couldnt find the link void main gave (it was probly in a pm that i deleted).

How do i make it so that I can use .cgi files in any directory?

Is there anything wrong with this virtualhost?:

--- Code: ---
--- End code ---
(this assuming my external IP is 205.92.81.80... which is really a governement IP in case anyone wants to scan it)

voidmain:
You need to add this between your virtual host tags:


--- Code: ---
--- End code ---

Obviously the "ExecCGI" is the important part of that, but I also like to use "All" and "Multiviews". You'll also need to uncomment another line higher in your conf file:


--- Code: ---
--- End code ---

I believe that is all that I ever do...

Master of Reality:
there is one other thing i forgot, and that is how do i stop directory listings?

TheQuirk:

--- Code: ---
--- End code ---

just remove "Indexes" and it will give you a 403 when you try to browse a directory.

Edit: 300th post   :D

[ September 07, 2002: Message edited by: TheQuirk ]

Master of Reality:
i did that and that and i set the 'Port 8000' and www.bobhub.tk still doesnt work. I dont have anythin g blocking port 8000.
Is there anything else that i would need to do?

[ September 07, 2002: Message edited by: Master of Reality / Bob ]

Navigation

[0] Message Index

[#] Next page

Go to full version