Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Linux
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:19 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.