Sponsored Content
Full Discussion: Apache SetHandler NONE
Top Forums Web Development Apache SetHandler NONE Post 302251149 by aliahsan81 on Saturday 25th of October 2008 09:14:04 AM
Old 10-25-2008
Apache SetHandler NONE

I am using the following Apache directive,Now what i am trying to do is that i want to disable all php and html and other extension not to be executed.In the particular directory,But this dosnt seem to be working.


Code:
<Directory /var/www/html/home >

# Remove all handlers already set (using SetHandler
# or AddHandler). This should prevent ALL files
# in directory from being executed/interpreted/handled.
SetHandler None

# Remove all other clever options. This is to prevent
# any other surprises.
Options None

# Force .htaccess file to be completely ignored. So
# even if .htaccess file is in directory, it will be
# ignored and cannot override above directives.
AllowOverride None

</Directory>

# ------------
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

apache

how must httpd.conf be configured to exec the php files? (2 Replies)
Discussion started by: user666
2 Replies

2. UNIX for Dummies Questions & Answers

Apache!

How do you tell which apache version is currently running. the situation is that I got multiply httpd.conf files on a solaris 2.6 server and I need to tell which version is what? I have checked the httpd.conf but no joy Thanks in Advance (3 Replies)
Discussion started by: hassan2
3 Replies

3. IP Networking

Apache

I want to have multiple domains to be configured in apache web server on redhat linux Please help me Vijay (2 Replies)
Discussion started by: Vijayanand
2 Replies

4. IP Networking

Apache

I want to have multiple domains to be configured in apache web server on redhat linux can i have that without DNS server configured. What all i have to do for that.What all to configure ? And importantly i want the site be accessed by name rather IP address. Please help me ... (1 Reply)
Discussion started by: Vijayanand
1 Replies

5. IP Networking

Apache

I want to have multiple domains to be configured in apache web server on redhat linux can i have that without DNS server being configured. What all i have to do for that.What all to configure ? please note that i need to access the site by its name not by IP . I want this in a LAN . I dont... (4 Replies)
Discussion started by: Vijayanand
4 Replies

6. UNIX for Dummies Questions & Answers

apache

on my webserver, and im sure many of you who also run one see this all the time, but the majority of my access log is filled with attempted exploits from computers compromised by some virus (NIMBDA?) and anyway i know this is harmless to an apache/linux webserver, but its annoying, anyway, on... (5 Replies)
Discussion started by: norsk hedensk
5 Replies

7. UNIX for Advanced & Expert Users

Apache

I am tring to configure Apache so that it displays the ip address of users browsing the web in the header. mod_header is installed on my apache as default. I tried including the following in httpd.conf file but no joy Header set remoteip %{REMOTE_ADDR} I have also tried Header add... (3 Replies)
Discussion started by: hassan2
3 Replies

8. UNIX for Dummies Questions & Answers

Apache help

Hi, I am new to unix and am trying to determine if apache is installed on my server. Is there a command to determine the running version or if it is even installed. I appreciate your help. Thanks, Eric (2 Replies)
Discussion started by: ejbrever
2 Replies

9. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies

10. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies
Apache::AuthCookie::FAQ(3pm)				User Contributed Perl Documentation			      Apache::AuthCookie::FAQ(3pm)

NAME
Apache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie. VERSION
version 3.18 DESCRIPTION
This document serves to answer the most frequently asked questions about Apache::AuthCookie. How can I protect an entire site (/) with Apache::AuthCookie? You have to give an Apache "require" directive that applies to all requests for except for your login handler. The easiest way to do this is to override the auth handlers for your login script. For example, if your login handler is "/LOGIN", then you need to use something like the following: <Location /> AuthType My::AuthCookieHandler AuthName Whatever PerlAuthenHandler My::AuthCookieHandler->authenticate PerlAuthzHandler My::AuthCookieHandler->authorize require valid-user </Location> <Location /LOGIN> PerlAuthenHandler Apache2::Const::OK PerlAuthzHandler Apache2::Const::OK </Location> ... NAME
Apache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie. AUTHOR
Michael Schout <mschout@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2000 by Ken Williams. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. BUGS
Please report any bugs or feature requests to bug-apache-authcookie@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-AuthCookie perl v5.12.3 2011-05-09 Apache::AuthCookie::FAQ(3pm)
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy