Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
| Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2004, 03:59 PM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default .htacess/apache

i wanna grant a http://~ hotlinking to a particular web-page of external site, to a particular-file of a particular-folder of my website. how can i do this.

i've further questions also ..
__________________
`~@#\^%&*/\.<.\/-|+|_!:;..=?>
PHP, SEO | anshul shrivastava | mediasworks.org | FB
 
Old July 17th, 2004, 05:37 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Basically you need mod_rewrite and put a RewriteEngine on ... etc. .htaccess file in your folder. Can you be a bit more specific about what you want to achieve (call me an old grumpypants, but I'm not about to help you indulge in bandwidth theft :).

Take it easy,
Dan
 
Old July 17th, 2004, 01:52 PM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

daniel:

u know, i can create users in .htaccess and their passwords in .htpasswd ..but this grants a folder-authentication, i wanna grant a permission of use of any of my file e.g., logox.png ( i'll add path ) to be used only in code of particular path of external site, say, http://alien-abc/somewhere/somepage.php

can't .htacccess has this2offer. c that i want not create folder-authentication2user

one interesting question: i've searched all locations in my remote root, but i can't find .htaccess file. where is it residing!

last thing i wanna ask (now!) is i want2move up of my subdomain folder to refer a file e.g.,
<IMG src="/image/someimg.jpg">
i know this is possible only by using a fully-qualified url like http://mysite.com/image/someimg.jpg
.. but i don't wanna use http://~ in my code.

i've further enquiries afterwards..
any help'll b appreciated.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache dpkbahuguna ASP.NET 2.0 Basics 9 May 21st, 2008 11:33 AM
have problem with apache preetissharma Apache Tomcat 1 November 9th, 2006 03:29 AM
configuring apache Gaurab Classic ASP Databases 0 September 28th, 2005 12:58 PM
Apache javaApache BOOK: Professional Apache Tomcat 0 September 22nd, 2004 03:53 AM
Apache Chudz BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 4 July 10th, 2004 08:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.