Protect a php configuration file on a linux server / apache.
18 posts
• Page 2 of 2 • 1, 2
Re: Protect a php configuration file on a linux server / apa
Hi,
I can not compile a phalenger with your script, please could you check steps (http://support.devsense.com/viewtopic.php?f=3&t=906&p=4068#p4069) through which I passed and I say exactly where I'm wrong it would help me a lot, I do not understand what to do and where this problem ....
best regards
I can not compile a phalenger with your script, please could you check steps (http://support.devsense.com/viewtopic.php?f=3&t=906&p=4068#p4069) through which I passed and I say exactly where I'm wrong it would help me a lot, I do not understand what to do and where this problem ....
best regards
- nicolas33
- Posts: 11
- Joined: December 15th, 2012, 1:58 pm
Re: Protect a php configuration file on a linux server / apa
Phalanger is not compiled by any script - use Solutions\Phalanger.sln to compile binaries (or download prepared setup program and extract DLLs).
Thanks,
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Protect a php configuration file on a linux server / apa
I tried with this archive: http://cloud.github.com/downloads/DEVSE ... 0(binaries).zip
but still don't work...
but still don't work...
- nicolas33
- Posts: 11
- Joined: December 15th, 2012, 1:58 pm
Re: Protect a php configuration file on a linux server / apa
The simplest configuration is just to copy PhpNetCore.dll into /Bin/ of your web app, and setup request handler for *.php to be handled by Phalanger. So just add following into web.config:
Let us know how does it work. Thanks!
- Code: Select all
<system.web>
<!-- Handler for mod_mono or IIS classic mode -->
<httpHandlers>
<add path="*.php" verb="*" type="PHP.Core.RequestHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" />
</httpHandlers>
Let us know how does it work. Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Protect a php configuration file on a linux server / apa
hello,
thank you for your reply, sorry to bother you with this, but I am not specialized in the .NET development or Mono, I specialize in web development, it is for this reason that it is difficult for me.
I decided to redo the installation from scratch, here are the steps I followed, hoping you can still help me.
I tried to follow the installation instructions into "phalanger_install_3.0.sh", but I still encounter a problem...
After installing packages via "apt-get install apache2 libapache2-mod-mono xmlstarlet", I don't know what I should add, and what directory, where download phalenger ?!
I tried to follow the instructions, but I do not understand why this directory is empty "phalanger-100149\3.0\Source\Install Linux\Debian package\usr\lib\phalanger\bin" downloaded from here: [url]phalanger.codeplex.com/SourceControl/changeset/view/100149[/url]
For the moment the following directory does not exist "/ usr / local / lib / phalanger" do I create hand? Which file put in because linux sources are empty?! It's not clear to me
thank you for your reply, sorry to bother you with this, but I am not specialized in the .NET development or Mono, I specialize in web development, it is for this reason that it is difficult for me.
I decided to redo the installation from scratch, here are the steps I followed, hoping you can still help me.
I tried to follow the installation instructions into "phalanger_install_3.0.sh", but I still encounter a problem...
After installing packages via "apt-get install apache2 libapache2-mod-mono xmlstarlet", I don't know what I should add, and what directory, where download phalenger ?!
I tried to follow the instructions, but I do not understand why this directory is empty "phalanger-100149\3.0\Source\Install Linux\Debian package\usr\lib\phalanger\bin" downloaded from here: [url]phalanger.codeplex.com/SourceControl/changeset/view/100149[/url]
For the moment the following directory does not exist "/ usr / local / lib / phalanger" do I create hand? Which file put in because linux sources are empty?! It's not clear to me
- nicolas33
- Posts: 11
- Joined: December 15th, 2012, 1:58 pm
Re: Protect a php configuration file on a linux server / apa
I'm not linux expert neither ... so I'll ask author of that linux installer if he would provide complete one-click package.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Protect a php configuration file on a linux server / apa
Could you send me the information in order to contact this person please?
thanks.
thanks.
- nicolas33
- Posts: 11
- Joined: December 15th, 2012, 1:58 pm
Re: Protect a php configuration file on a linux server / apa
Hello,
After two weeks spent trying to install phalenger under linux I let fall ! It's really a shame because I think I was not far, but obviously nobody can help me.
I think have installed mono & phalenger without errors but I still have a configuration problem.
I think I don't have the correct files bianires. I tried to download the binary phalenger2.0, the structure of the directories correspond with the installation tutorial, but I still missing files in the Dynamic...
When I load my web directory, I get a runtime error...
After two weeks spent trying to install phalenger under linux I let fall ! It's really a shame because I think I was not far, but obviously nobody can help me.
I think have installed mono & phalenger without errors but I still have a configuration problem.
I think I don't have the correct files bianires. I tried to download the binary phalenger2.0, the structure of the directories correspond with the installation tutorial, but I still missing files in the Dynamic...
When I load my web directory, I get a runtime error...
- nicolas33
- Posts: 11
- Joined: December 15th, 2012, 1:58 pm
18 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 7 guests