skip to Main Content

URLs rewrite using regex pattern – Apache

I need to rewrite URL's using .htaccess to redirect all users from old sitemap to the new URL's. The old URLs looks like this: http://server.linux.example.com/a/v/c/document_title1.php http://server.linux.example.com/jp/x/1/o/document_title32.php http://server.linux.example.com/kr/a/a/2/document_title12343.php http://server.linux.example.com/cn/6/z/z/document_title124.php I need to keep first directory and then remove all sub-directories, including…

VIEW QUESTION

Apache Drill – Getting error on KVGEN method

I have a huge dataset where each record have json data similar to below - {"project":{"id":"2625","createDate":1542597000000,"rank":0,"highlight":false,"isDisplay":true,"isNewProject":true,"propertyId":2231,"districts":{"id":41,"name":"abc","region":"123"}}} When I am trying to genrate key value pairs using select kvgen(t.project) from dfs.filePath t in apache drill, I am getting below error -…

VIEW QUESTION

No php-fpm error logs from docker container – Apache

Using apache + php-fpm containers in docker-compose, I can't get the php-fpm container to display any errors. docker-compose.yml version: '3' services: php: build: context: ./php ports: - 9000:9000 volumes: - ./code:/code - ./php/www.conf:/usr/local/etc/php-fpm.d/www.conf environment: ENVIRONMENT: local web: image: httpd:2.4 depends_on:…

VIEW QUESTION

How to scale out apache atlas

There is no info provided in atlas document on how to scale it. Apache atlas is connected to cassandra or hbase in the backend which can scale out ,but I dont know how apache atlas engine ( rest web-service and…

VIEW QUESTION
Back To Top
Search