Apache :: Websocket With Mod Proxy Wstunnel Doesn't Work
Jul 16, 2013I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in 2.2.22 and loaded the module mod_proxy_wstunnel.
View 2 RepliesI have a little problem with the web sockets and my reverse proxy apache, i have upgraded in 2.2.22 and loaded the module mod_proxy_wstunnel.
View 2 RepliesI need to modify a web that is working in the server. I'd like to download it to my computer and test it. For this reason I have to change the htaccess file to change the redirects, but it doesn't work, appears 404 error
This is the code.
RewriteEngine On #rewritecond %{http_host}
^camps.es [nc] rewritecond %{http_host}
^camps [nc] #rewriterule
^(.*)$ http://www.camps.es/$1 [r=301,nc] rewriterule
^(.*)$ http://localhost:8887/camps/$1 [r=301,nc]
I had a problem that ip restrictions inside location didn't work. Config :
Code:
<Location /jkstatus>
JkMount status
Require ip 127.0.0.1
Require ip my_remote_netowrk_1/29
Require ip my_remote_netowrk_2/29
[Code] .....
In that case all IPs were allowed - just propted for login and password.
When i removed login/password part from location, IP restriction has start to work.
Code:
<Location /jkstatus>
JkMount status
Require ip 127.0.0.1
Require ip my_remote_netowrk_1/29
Require ip my_remote_netowrk_2/29
[Code] ....
What is wrong ? I would like to restrict access to this location for some IPs only and secure this area by password as well - even for allowed IPs.
I have a home server set up with a couple of things going. Here is the weird thing that I can't figure out. I can access everything just fine from an INTERNET connection external to my LAN using my domain name, let's say "domain.com". So, if I type into my computer on my LAN www.domain.com, it searches without actually finding it's destination giving up after a period of time saying the server cannot be found.
But, if I type www.domain.com on my mobile phone using my data connection, it connects without a hitch and everything functions fine. I have done this set up before at a different home, but since I moved, I have come across this problem and either don't remember having this happen before or don't remember what I did to resolve it. What I should look for?
I have been using IIS 7.5 on a Win7 32-bit computer. We moved to a Win7 64-bit machine and 1 app does not work. I am thinking of trying Apache 32-bit to see if that works. The script that is causing problems calls Office Word to create a document. Here is a simplified version of script.
View 3 Replies View RelatedYesterday i was putting a website to manage in localhost but i had to abilitate the usage of mod_rewrite. when i'm in the index and i try to open links i have this message..The requested URL /c3click.php was not found on this server.Here are the steps that i followed:
1) Search for LoadModule ReWrite and decommenting
2) Search for Servername localhost
<Directory />
AllowOverride all
Require all granted
</Directory>
3) Search for C:/wamp/www
Options all
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# Require all granted
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
4) Reboot the server
In the beginning of my .htaccess file there's written
RewriteEngine On
RewriteBase /
Options -Multiviews
My configuration is Windows 7, Apache 2.4.4 on Wamp Server 64bit.
In the apache_error.log file i discovered this
[Wed Oct 02 10:33:47.582049 2013] [:error] [pid 2412:tid 1496] [client 127.0.0.1:50195] script 'C:/wamp/www/c3click.php' not found or unable to stat, referer: http://localhost/Lavoro/C3click/01-10-2013_Sito/
I'm trying to accomplish a rather common task of removing file extensions, where say, instead of index.php, just index can be accessed.
I've gone through many tutorials that offer all sorts of different ways how this can be accomplished and none of it works but what's commonly given is something like this.
I'm trying to integrate the websocket into existing application.Based on my search, i found a websocket module to do this, but it isn't updated yet. URL...
Any chance that the module will be included in Apache ? Also i found in StackOverflow conversation that Apache httpd wasn't design to maintain persistent connection, is that true ? Using WebSocket on Apache server. Should continue using Apache websocket module or using separate websocket server ?
today I noticed that whenever I type any of the domain names on my server with a "www." in the address bar, it simply says "server not found". When I remove the "www.", it loads the site?
This is a major issue. It never used to be this way, but I noticed it today. Where should I edit? Could it be "named.conf"? Or maybe just DNS cname settings in plesk?
Have you ever been using Fguard to ban IP flood your server?
I downloaded Fguard
I try to backup my sites at "Admin Backup/Transfer" with ftp to another site with admin level it doesn't work. I alway get the message that the admin backups have been created in /home/admin/admin_backups instead of to another site.
View 2 Replies View RelatedI've had two (or three) versions installed on my Fedora linux server. It seems I've had something installed when I just rented server, after that I've tried to upgrade by building PHP from source.
PHP, installed with yum (before upgrading) had 5.1.6 version. When I ran phpinfo(), browser displayed this version. But when I ran "php -v" in command line, it displayed 5.2.5 version.
I've got this error when server booted up:
Quote:
[20-Nov-2007 03:27:30] PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
So, I've removed old version(s):
Quote:
rpm -qa | grep php
rpm -e *package*
yum remove php
Then I've downloaded latest version of PHP 5.2.5 and installed it. I've copied configuration list that yum uses for older version:
Quote:
./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic=/usr/share/file/magic.mime --without-sqlite --with-libxml-dir=/usr --with-xml --with-apxs2=/usr/sbin/apxs --without-mysql --without-gd --without-odbc --disable-dom --disable-dba --without-unixODBC --disable-pdo --disable-xmlreader --disable-xmlreader --disable-xmlwriter
make clean
make
make install
After that PHP doesn't work with Apache2. Whe I try to load any .php page, I get PHP source code as simple text instead of result of executed PHP code.
When I install PHP with yum again, it works.
I wonder how can I install latest PHP from source? How to fix the problem with Apache2?
I ordered a RapidSSL (also called QuickSSL) cert from RapdiSSL.com (GeoTrust) to test out an email service. It works on firefox, but not in any version of IE I have on my two computers at home, a PC and a laptop running 6.0sp2 and 7.0 respectively.
When I raised a trouble ticket, Geotrust responded with a ppt attachment that clearly shows the cert working for the domain in IE. I have no reason to doubt them, but I replied with a ppt of my own showing the cert not working and am waiting for their reply.
Is it possible for a cert not to work on a specific browser like this? When I asked my email service provider, they said the following:
Quote:
Hello,
This indicates a problem with the SSL certificate that was installed. Possibly, an intermediate certificate issued by your certificate authority is need to be installed in addition to the one you gave us to enable Internet Explorer to fully trust your certificate and show the secure site.
Note for example that the only difference between going to
[url]and [url] is the certificate in use ... the same server and software with the same settings is used in both cases. I recommend going back to Geotrust and ask if there is a Geotrust Intermediate certificate that should be installed in addition to your issued certificate."
The domain is CNAMED to their server so that the app looks as if it is being run off my domain. I don't think there is anything non-standard about this because LuxSci is a topnotch provider and this is how they enable their clients to run private label services.
I installed Apachetop on one of servers. Installation went fine, but when I run it, nothing is displayed. No data, no stats. I see only blank screen with these details:
last hit: 00:00:00 atop runtime: 0 days, 00:00:00
I left it running for about 10 minutes, and still no output is displayed. There is CentOS 4.4 installed on server.
i have dedicated server and was trying to install torrentflux in there ( well might be any other script with Mysql needs) I created databse with plesk but when i put it to confinguration it does not work. I have done this Many times on shared hosting though
View 4 Replies View RelatedWe setup a new server and we're trying to use virtual() function to work with a certain script that requires it.
We already tried several ways to make it work. But at this moment, we only could make it work on PHP 4 with DSO.
My main domain is working perfectly but when I want to add a new domain name it doesn't work. I usually go to addon domain, choose a directory that matches the name and create my addon domain. I have an index.htm file there but when I type the www.domainname.com it doesn't work even after a week.
I have the DNS set to my webhost company's DNS servers.
i tried to create .htaccess file to protect hotlinking ; it's worked perfect with Firefox but can't work with IE. Here's my .htaccess file:
Code:
RewriteEngine on
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName domain.com
AuthUserFile www est.htpasswd
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteRule .*.(jpg|jpeg|gif|png|zip)$ [url] [R,NC]
If using Firefox and download a .zip file from my site it'll work but if use Internet Explore it'll only download redirect html file instead.
i want to install a red5 streaming server on FreeBSD6.2
The install was no problem and i get no errors.
So far so good.
But, i want to stream with the rtmp protocal so i used flv player to test. The link i tried was rtmp://xxx.xxx.xxx.xxx/oflaDemo/Transformers.flv (standard red5 example file)
But i get nothing on the screen, i tried a lot of other urls but no succes, red5 seems to work (see below for details)
How can i test of red5 works after a standard installation?
Netstat -ant
tcp4 0 0 xxx.xxx.xxx.xxx.1935 *.* LISTEN
tcp4 0 0 xxx.xxx.xxx.xxx.5080 *.* LISTEN
tcp4 0 0 xxx.xxx.xxx.xxx.8088 *.* LISTEN
conf/red5.properties
# HTTP
http.host=xxx.xxx.xxx.xxx
http.port=5080
# RTMP
rtmp.host=xxx.xxx.xxx.xxx
rtmp.port=1935
rtmp.event_threads_core=16
rtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
rtmp.event_threads_queue=-1
rtmp.event_threads_keepalive=60
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=5000
rtmp.max_inactivity=60000
# RTMPT
rtmpt.host=xxx.xxx.xxx.xxx
rtmpt.port=8088
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
# Debug proxy (needs to be activated in red5-core.xml)
proxy.source_host=127.0.0.1
proxy.source_port=1936
proxy.destination_host=127.0.0.1
proxy.destination_port=1935
For some reason my nginx doenst start and I get the following error:
Error: Unable to start service: Unable to manage service by nginxmng: [2015-05-30 01:03:20] ERR [util_exec] proc_close() failed
enabling nginx proxy failed: getsebool: SELinux is disabled
255 Service /etc/init.d/nginx failed to start
getsebool: SELinux is disabled
Nginx proxy changes had been reverted.
('--enable', 'nginx')
I just bought a Kimsufi server with Windows 2003 standard edition to run a windows media broadcast.
I installed windows media services on my server and created a publishing point.
However I'm unable to connect to the pub point I created.
Has this ever happened to any one?
I try to follow this: KB: Customer & Business Manager stuck on post-upgrade processing like the warning tell me to do:
Code:
Parallels Panel pre-upgrade check...
WARNING: SSO start-up script has wrong execution priority. Please, check [URL] .... for more details.
But I try to proceed the first step (for Centos 6.5):
Code:
[root@mydomain conf.d]# for i in `find /etc/sw-cp-server/applications.d/ -type f -name *sso-cpserver.conf`; do mv $i $i.moved.kb.112666; done
[root@mydomain conf.d]# rpm -q sw-sso | xargs rpm -e --nodeps --justdb
[root@mydomain conf.d]# /usr/local/psa/admin/sbin/autoinstaller --select-release-current --upgrade-installed-components
Doing restart of Parallels Installer...
[code]....
I installed wordpress on a website space of my customer using the plesk install-wordpress function.
I bought a wordpress template to templatemonster.com .
I followed instructions to install it [URL] .....
After the cherryframework upload, when I click on "activate", the server returns a 500 error.
I contacted the templatemonster.com technical support, and they say that it is a plesk issue ( [URL]
So I've been working on getting the modsecurity upload scan function to work for over 4 hours now and i'm done with this junk to say the least.
Using modsec 1.9
Cpanel 10x
Apache 1.3
in the modsec.conf
SecUploadDir /tmp
SecUploadApproveScript /usr/local/apache/htdocs/upload_scan.pl
All I get in the audit_log is:
Access denied with code 406. Error verifying files: Received no output from the approver script (execution failed?) "/usr/local/apache/htdocs/upload_scan.pl" ....
I created an email account in cpanel. But then when I try to click 'webmail' by that account, it won't work. It takes me to the option screen where I can click Horde Mail or Squirrel Mail. After I click either one of them, it then just takes me to a log in screen like it didn't accept my login info. I try typing in my username and password but it doesnt work.
Is this a permission thing I need to set in WHM? I'm clueless.
We have updated our Plesk 10.4.4 to 12.0.18. We want to use PHP with FastCGI (Apache) and get always the following suexec - error:
command cgi_wrapper not in docroot (10004)
We use CentOS 6.4
My download button doesn't work in File Manager.
View 2 Replies View Related