| Author |  | 
| srinureddy.etta@gmail.com 
 
 
 Joined: 05 Nov 2014
 Posts: 12
 
 
 | 
|  Posted: Fri 31 Jul '15 11:14    Post subject: Apache lookup for files in  document root failing |   |  
| 
 |  
| Hi , I have document root mentioned in the httpd file but my url(http://mydomain.com/pl/BConline/en/img/arrow_down_black.gif) has specific directory structure(/pl) which is not there in my document root due to this browser is failing to load static text.
 
 
  	  | Code: |  	  | DocumentRoot  "D:/ac-be-pax/ac1107_be/domains/AirCanada/web" <Directory     D:/ac-be-pax/ac1107_be/domains/AirCanada/web>
 Order Deny,Allow
 Allow from all
 </Directory>
 | 
 
 url:http://mydomain.com/pl/BConline/en/img/arrow_down_black.gif
 
 please let me know how to tell apache to ignore /pl in root and pick  or can we manipulate url .
 
 
 Thanks
 Srinivasula Reddy
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Fri 31 Jul '15 11:48    Post subject: Re: Apache lookup for files in  document root failing |   |  
| 
 |  
| Hi Srinivasula, 
 
 
  	  | srinureddy.etta@gmail.com wrote: |  	  | which is not there in my document root due to this browser is failing to load static text 
 | 
 
 Where is it then if not in the document root?
 |  | 
| Back to top |  | 
| srinureddy.etta@gmail.com 
 
 
 Joined: 05 Nov 2014
 Posts: 12
 
 
 | 
|  Posted: Fri 31 Jul '15 13:38    Post subject: |   |  
| 
 |  
| It is in the url. from BConline/en/img/.. directory structure is in document root(pl is missing in document root)
 in url pl/BConline/en/img/ (/pl extra is there due to that it is not loading)
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Mon 03 Aug '15 16:40    Post subject: |   |  
| 
 |  
| Did you ever work with mode rewrite? Because you have to redirect those stuf to the correct url. |  | 
| Back to top |  | 
| srinureddy.etta@gmail.com 
 
 
 Joined: 05 Nov 2014
 Posts: 12
 
 
 | 
|  Posted: Wed 05 Aug '15 5:10    Post subject: |   |  
| 
 |  
| no,  i never worked with rewrite.share some into on that |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Wed 05 Aug '15 18:06    Post subject: |   |  
| 
 |  
| There must be some rewriting allready since the pl doesn't exist apache must redirect the request. 
 Please look in your config files for RewriteRule
 |  | 
| Back to top |  |