#1  
Old 27th April 2007, 21:57
Spudchat Spudchat is offline
Member
 
Join Date: Aug 2006
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default Apache Redirects

Hello,

I'm wondering if it would be allowed to put a redirect I was going to put in a .htaccess file into the ISPConfig "Apache Directives" for the site. If so would the syntax be identical? I was planning on using something like this:

Redirect 301 /var/www/web2/somedir/file.php http://www.example.org/somedir/

In case your wondering why I would want to do that, I was tidying up and (hopefully) further securing a php email script. I'm hoping this will redirect users who try and access the script without accessing the page that calls it. I was thinking about doing it with php, but there would be all kinds of problems and a quick google of it turns up a way to get around it as the first result.


Thanks,
Spudchat
Reply With Quote
Sponsored Links
  #2  
Old 28th April 2007, 19:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by Spudchat
Hello,

I'm wondering if it would be allowed to put a redirect I was going to put in a .htaccess file into the ISPConfig "Apache Directives" for the site. If so would the syntax be identical?
Should work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MaxClients set to appropriate level, but ISPconfig is crashing from it (I think) bpmee Server Operation 6 11th January 2007 19:29
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
mod_mono apache 2.2 ColdDoT Server Operation 5 23rd May 2006 02:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45
Apache 1.3 Support SleeperZ General 3 9th November 2005 11:10


All times are GMT +2. The time now is 12:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.