Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
5 Links for Developers and IT Pros 5-24-13
Transparency Camp event report and review of new tools
Is Google Code In Trouble? No More Open Source Downloads For You
Embedding Other Languages in BASH Scripts
Computers are today's pencils
Mixxx – The most advanced free DJ software
HP CEO Scorecard: Google Android 3, Windows 8 Zero
The Kirk and Spock Approaches to Big Data
ZevenOS 3.1 Neptune Screenshot Tour
Review: Korora 18 "Flo" KDE
more
Recent comments
Re: Installation successful, but I can't receive any mail...
23 hours 59 min ago
ssl
1 day 5 min ago
No Mails could be send.... Connection refused
1 day 5 hours ago
array param function
1 day 11 hours ago
Thank you so much. 2 thumbs
1 day 12 hours ago
Great post... But...
1 day 13 hours ago
Instead of copying and
1 day 18 hours ago
 Correction: fro m_address=`
2 days 45 min ago
tuto thanks
2 days 4 hours ago
WFM
2 days 6 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 2
>
Tips/Tricks/Mods
PHP source code was shown on the webpage - security issue ?
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Page 2 of 2
<
1
2
Thread Tools
Display Modes
#
11
23rd March 2009, 10:19
till
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
If you rename a php script to another extension you will get the sourcecode too
If you want to deny a filetype then you can do this by adding some apache mod_access rules to the apache directives field of the website like this:
<Files ~ "\.php$">
Order allow,deny
Deny from all
</Files>
__________________
Till Brehm
--
Get
ISPConfig support
and the
ISPConfig 3 manual
from ispconfig.org.
till
View Public Profile
Send a private message to till
Find all posts by till
Sponsored Links
Page 2 of 2
<
1
2
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
Tags
php
,
security
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig]
amaurib
Installation/Configuration
13
16th February 2010
17:26
ISP Config hesitation when opening web pages
frankb
Installation/Configuration
7
15th December 2008
13:06
ispconfig php 5 errors
itamarjp
Installation/Configuration
8
25th April 2008
10:20
network issues now it says "401 The web site is blocked by administrator"
Check
General
3
26th February 2008
14:22
Apache2 Freezes
celtic
Server Operation
31
28th May 2007
17:18
All times are GMT +2. The time now is
23:52
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
23 hours 59 min ago
1 day 5 min ago
1 day 5 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 18 hours ago
2 days 45 min ago
2 days 4 hours ago
2 days 6 hours ago