S
S
SibVector2017-05-21 21:33:51
URL Handling
SibVector, 2017-05-21 21:33:51

How to build kdevelop?

I want to use parts of KDevelop in one of my projects , in particular, the kdev-php package .
I connected it to my project, but when compiling I get an error of the absence of the phpparser.h file , which is not in any of the KDevelop packages at all. Question: where does this file come from and where can I find it? The file is 100% not from PHP sources.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ixon, 2018-08-13
@ixon

With htaccess.

#Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On     
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s/+(.*?)(?:\+|%20|\s)+(.+?)\sHTTP [NC]
RewriteRule ^ /%1-%2 [L,NE,R=302]

# To externally redirect /dir/foo.php?name=123 to /dir/foo
RewriteCond %{THE_REQUEST} ^GET\s(.*)/Movie\.php\?name=([^&\s]+) [NC] 
RewriteRule ^ %1/%2? [R,L]     

# /htaccess/Movie.php?name=movie-name => /htaccess/movie-name
RewriteCond %{THE_REQUEST} ^GET\s([^.]+)\.php\?name=([^&\s]+) [NC] 
RewriteRule ^ %1/%2? [R,L]     

# To internally forward /dir/foo/12 to /dir/foo.php?name=12
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+?)/([^/]+)/?$ $1.php?name=$2 [L,QSA]

# handle /htaccess/movie-name internally
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ Movie.php?name=$1 [L,QSA]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question