| shastry | anyone ? i want all urls that doesnt begin with /foo to be handled by a "location" directive, the /foo to be handled by another location directive |
| erisco | well then what example covers it? |
| thumbs | shall I grep it for you? |
| Inexistence | i have a debian server with php5 and apache 2, and when i go to start the server i get this message" API module structure `php5_module' in file /usr/local/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?" how do i correct the problem? |
| thumbs | shastry: try ! first |
| shastry | !location oho |
| thumbs | shastry: no, before the regexp Inexistence: install a proper module |
| shastry | !/foo ? |
| Inexistence | into apache? |
| thumbs | yes, I think it might work. Inexistence: no, in your pants. Inexistence: what distro are you using? |
| Inexistence | lol...thanks, and whats the dir. that i nstall it to? not sure |
| thumbs | debian php |
| fajita | debian php is here http://wiki.apache.org/httpd/ScratchPad/DebianPHP |
| thumbs | Inexistence: ^^ |
| erisco | this is the point I got to when the infinite looping starts: http://pastebin.ca/400415 if the path has the web/ directory in it then I wanted it to redirect to the path without but it someone redirects infinitely |
| shastry | thumbs: the main location isnt working now. just /viewvc |
| thumbs | shastry: what regexp are you using, exactly? |
| shastry | no regex just !/viewvc thumbs: what should i use ? |
| Inexistence | thanks |
| fajita | No worries |
| erisco | I can understand why internally, but it shouldn't be redirecting internally if I have NS and L as flags.. it still does |
| thumbs | erisco: you can't use paths relative to the beginning of your docroot in htaccess erisco: if you're in foo and it has a web/ folder in it, try ^web/ it's a limitation of htaccess. |
| erisco | thumbs, it is absolute to my address at localhost. ^web/ does not work, I have tried that dozens of times now =\ I just wrote out /eric/nox/web/ |
| jMCg | thumbs: is there anywhere a listing of ALL .htaccess limitations? |
| thumbs | RewriteCond %{REQUEST_URI} ^/eric/nox/web/ that will NOT work in htaccess for one |