apache rewrite rule help
hi
jpg thumbs are rep by png thumbs. i did a .htaces to chg filename_thumb.jpg to filename_thumb.png. that part works. prob is the dir changes from <url>photo/multihost/images to <url>/var/www/lcqp/photo/multihost/images/ makes the thumb 404. I don know whats wrong. wtf? Im way out of my depth. halp! |
Code:
Content, Pictures and Download links visible to registered users only. |
I asked one of the other admins that is a programmer to see what he says...
I'll let you know as soon as he replies. EDIT - i mean another admin on another site i also admin on, not this one |
followsymlinks is on to.
|
we should have a foreign language thread....although 2-6 prob wouldnt make sense there either (please dont kill me, im a christian)
|
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. dont take is so hard. evryone lovs a fun slut ;-) |
Code:
Content, Pictures and Download links visible to registered users only. Code:
Content, Pictures and Download links visible to registered users only. I started there solely as a way to drive traffic here. People hated on me but one of admins really liked me and asked me to do some shit there and it just kept getting bigger. But DSF is my 1st love for sure... the other site is full of pussies and grammar nazis. Man sometimes i post links there (to DSF threads of course) and people freak out about the NSFW ads... fucking pussies. Now i'm an admin so i tell people to fuck themselves pretty regular :D |
I make love to myself all the time...does that mean I am an admin?
|
Code:
Content, Pictures and Download links visible to registered users only. I can see why you might be shit scared of telling us which website it is. I don't blame you, but you know and we know that you eventually will. DSF is something that should be a part of everybody's life, whether they want it or not. Especially if they don't want it. I want to DSF rape your other forum. |
Code:
Content, Pictures and Download links visible to registered users only. agreed |
ha ha ha DSF rape.
Back on topic: that guy stromm something should know about this stuff. |
Code:
Content, Pictures and Download links visible to registered users only. |
Sorry 2-6, the guy said he doesn't know much about Apache setup.
Where is Shade?? |
Code:
Content, Pictures and Download links visible to registered users only. |
I fucked around with Apache before but nothing like this. I'm only vaguely familiar with .htaccess files. Best advice I can give is to look through their documentation. I don't understand why it's changing the directory in the first place but there should be a way to change it back. I learned how to set it up from searching their documentation and trial and error.
|
Code:
Content, Pictures and Download links visible to registered users only. |
2-6,
It's hard to tell what the problem is without looking at the current configs. Truthfully your issue that you have of the "dir changes from <url>photo/multihost/images to <url>/var/www/lcqp/photo/multihost/images/" seems like it is probably doing what you ask of it. Most likely the fullpath of your images originate from the path of /var/www/lcqp/photo/multihost/images/. For some reason the rewrite rule is appending the full path. Can you post the directive for the rewrite from htaccess, then maybe we can decipher where the problem lies? |
From Apache -
Assume the following per-directory config file: # # /abc/def/.htaccess -- per-dir config file for directory /abc/def # Remember: /abc/def is the physical path of /xyz, i.e., the server # has a 'Alias /xyz /abc/def' directive e.g. # RewriteEngine On # let the server know that we were reached via /xyz and not # via the physical path prefix /abc/def RewriteBase /xyz # now the rewriting rules RewriteRule ^oldstuff\.html$ newstuff.html |
^^^ What I'm seeing |
I don't know shit about writing code (well I can make a mean excel formula if needs be) but if 2-6 is writing the code the same way he spells then there is your problem right there. Home boy needs some hooked on phonics.
|
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. LOL |
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. I'm sorry buddy. Please don't cry. It's just that 2-6 is doing something constructive for the whole forum and your attempt at bull busting was at best, ill timed, not to mention pathetically weak and old news as everyone and their brother knows 2-6 isn't Umberto Eco. So please don't get mad and go away. Just maybe STFU until you find something funny to say. You're welcome. |
Code:
Content, Pictures and Download links visible to registered users only. |
Code:
Content, Pictures and Download links visible to registered users only. |
I'm a hardware/OS guy, so I can't help with Apache. Sorry. I'll ask around and see if anyone I know might have a clue.
|
All times are GMT -5. The time now is 12:16 PM. |
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
WE CANNOT POLICE EVERYTHING POSTED - IF YOU SEE YOUR COPYRIGHT MATERIAL - SEND US AN EMAIL AND WE WILL MAKE SURE TO REMOVE IT!Ad Management plugin by RedTyger