3,436 Topics
![]() | |
How to redirect all traffic (to my site's certain htm page.. example: sub.site.com/folder/file.htm) who are not coming directly to my site. Something like this but this is not correct.. [CODE] RewriteCond %{HTTP_REFERER} !^http://sub.domain.com RewriteRule !^$ http://sub.domain.com/folder/file.htm [R=302,L] [/CODE] How can it be done? | |
Yeah, yeah, category fail, whatever. Seriously just ignore it. Anyway. I used webs.com for hosting up until a few days ago, when a friend of mine gave me a subdomain so my URL would just seem that much more random ([url]www.a-random-word-here.another-random-word.com[/url]) and so I need to transfer all my files … | |
Hello, I'm having this error in a new hosting where I just uploaded my website. I didn't have this problem in my old hosting: 404 Not Found Not Found The requested URL /cgi-bin/php/myscript.php was not found on this server. Do you know what could be causing the error? It is … | |
Recently , i just used jcreator with apache ant 1.7.1 for jsp development. I have a issue that I always performed "remove", "dist", "install" to update and deploy my latest web project. Is there any easier way to reload entire web project without always click on these three. It takes … | |
I recently purchased a domain name from godaddy, and have been unable to link it with apache which i am running from my home on a server. The server uses windows xp (because of my lack of linux skills). I though i might have to point my domain name to … | |
I am looking to have both a forward proxy, and a reverse proxy at the same time. It seems as though, when I do this, the Proxy definition I put in place to restrict access to the forward proxy also effects the reverse proxy. [CODE] ... #... inside my virtual … | |
I love mythology and there's nothing like hearing a technology myth to make my day complete. Just today someone applied one of the following myths in a conversation with me. I didn't say anything but it gave me the idea for this post. Here are the five myths related to … | |
I just read a post on another site from someone who calls himself (herself?), [B]linux guru[/B], and it made me ponder the following question: What is a Linux Guru? I've known many knowledgeable people over the years but never have I met an actual guru. I wonder if people like … | |
hi friend can you tell me how to create servlets and how we can deploy it on the apache web server. | |
Hey, I was hoping someone could lead me in the right direction. I maintain a fairly large corporate/ecommerce site and after reviewing google webmaster tools I found over 500 404's that need to be dealt with. The list of 404's is always growing because people link to our site incorrectly … | |
from the search I made I understood that I must declare the class in a package then put it in WEB-INF/classes. and call it from the jsp page. SO. my class is: package x.com; import java.io.*; [code]public class X { public static void main(String[] args ) throws IOException { File … | |
Hello, When I add a simple <c:set var="foo" value="bar"/> line to my jsp I get the following error: javax.servlet.ServletException: javax/el/ELException org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause java.lang.NoClassDefFoundError: javax/el/ELException java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Unknown Source) java.lang.Class.getDeclaredMethods(Unknown Source) java.beans.Introspector$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) java.beans.Introspector.getTargetMethodInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.<init>(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) … | |
Hi everyone I have one we application developed using java,servlet and jsp. i am running it using Apache tomcat server 5.5. When i am running it on my local machine, i am given path as [B][url]http://localhost:8080/student/[/url][/B] where as student is name of application. Now if i require run same application … | |
Firstly, apologies if this is in the wrong place, I couldn't find an alternative topic where this would be more relevant. Feel free to move it if you can think of a better place for this thread. I've been encountering an issue with apache's mod_rewrite that I can't find a … | |
my php session_destroy() function not working. php version: 4.0.3 Apache : 1.3.14 using MsSQL via ODBC thanx | |
hello, I have my php project and I want to build the application so that when i give it to someone he/she just executes the installer file. It should include all the necessary perquisites like apache, php and mysql. How do I do that? any software that can help? Please … | |
I have recently been looking at the Pager script in PEAR, and installed it to my Apache install. This is my existing code for my script (which doesn't use PEAR'S Pager script, for now anyway): [CODE] <?PHP //connect to mysql //change user and password to your mySQL name and password … | |
![]() | Hello All, I apologize for what seems to be a simple thing to solve but I'm not sure why I can't get the correct result below. Here is the code and the problem: I'm using .HTACCESS to password protect a directory. I'm taking the username and storing it in a … ![]() |
Hello every one I am trying to insert text into oracle 10g, which contains ( ‘ ) single quotes. I know its simple , I have tried google. This is the error I get Warning: ociparse() [function.ociparse]: ORA-01756: quoted string not properly terminated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\qmon\age.php on line … | |
I have hundreds of domains so I needed an htaccess that would force www without knowing the exact domain name. I got it to work, but then it started forcing www in front of ALL my subdomain URLs too, not just domain.com (ex: [url]http://www.sub.domain.com[/url]). So I need something that will … | |
hey friends i m using servlet in order to write the output to jsp but i m getting output as something BufferedReader.io.inpitstreamreader@somenumbers i want to return the string output to jsp back .i need help stuck i this thing [code=java] try { String line; // String path="/home/muzammil/apache-tomcat-6.0.18/work/Catalina/localhost/remote_compile/"+filen[0]; Process p = … | |
The aim of this thread is to gather useful information in regards of Java web development. If you know some tips and tricks, tutorials or any interesting links that has not been already mentioned in previous posts please share with us (please always check to avoid double posting). Please DO … | |
Hi.. I have created an application which is using the org.apache.log4j.Logger class for logging various INFO/DEBUG?ERROR messages.. The application is working fine, including logging, when Run As Java Application in the Eclipse IDE..(log file is generated successfully and entries too are created) Then I exported the project to a .jar … | |
Plagued by duplicate files that clog up your system? Quantum, a company once known mainly for hard drives, yesterday unveiled a new version of its [url=http://en.wikipedia.org/wiki/StorNext_File_System]StorNext File System[/url] that it says optimizes storage efficiency by implementing automatic data deduplication. It's part of StorNext 4.0, Quantum's high-performance sharing and data management … | |
Hi, I am trying to write a soap client to connect to the hosted webservice of GlobalWeather. But i am getting lot of execption. I am posting the client and exception. If someone has as sample client code to connect to Globalweather that would be helpful. [CODE=java]package samples.hello; import org.apache.axis.client.Call; … | |
Last week, The Linux Foundation [URL="http://www.linuxfoundation.org/node/5716"]launched[/URL] it's new Linux Jobs board and normally, I applaud anything that [URL="http://www.linuxfoundation.org"]The Linux Foundation[/URL] (TLF) does but not this time. And I think it's great that TLF has a [URL="http://jobs.linux.com"]job board[/URL] on [URL="http://www.linux.com"]Linux.com[/URL], however, the execution lacks the luster I've come to expect from … | |
i have an apache server running on my pc, and am wanting to install some software, but need to set some folders writeable, but cannot simply go to folder properties-> and uncheck read only, i can, but every time i go back to the folder properties again, it is checked … | |
hello folks, Can anyone help me out how to install the sugarCrm software in wampserver.? I have tried to insatll the same but its saying that , "Minimum Php version required is 5.1.0. Recommended Php version is 5.2.x." But here in my system it is there php5.3.0.. why it is … | |
Hi all, I have two jsp pages say jsp1 and jsp2. In jsp1 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="one" scope="session" class="mypackage.myclass1" /> [/code] In jsp2 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="two" scope="session" class="mypackage.myclass2" /> … | |
Hello All, Please help me with the question I posed on thread title Thanks you! | |
Hi guys, As i already mentioned, am a linux newbie because our office for some reason is moving to linux and as the head of Networks have been assigned to configure a squid but am stuck on how to go about it but have installed the squid on my debian. … | |
I have this code here from a previous topic that sknake help solve. I can't see why its not working. [CODE]String^ user = gcnew String(username->Text); String^ pass = gcnew String(password->Text); try { Uri^ url = gcnew Uri("http://beta.rapidpremium.net/login.php"); String^ data = "username=" + user + "&password=" + pass + "&login="; HttpWebRequest^ … | |
Did you hear that one of the web's most popular web-based collaboration suites, [URL="http://www.zimbra.com"]Zimbra[/URL], was purchased by virtualization leader, [URL="http://www.vmware.com"]VMware[/URL]? Zimbra customers like the idea of VMware owning the software suite. Industry observers have differing opinions on the topic. Formerly owned by [URL="http://www.yahoo.com"]Yahoo[/URL], Zimbra now has the advantages of VMware's … | |
This is a plea to all hardware manufacturers: Please create Linux drivers for your hardware. OK, so Linux isn't the Stormin' Norman of the Desktop arena but that doesn't mean its users don't want or need drivers for hardware. I don't blame the kind volunteers that donate their time to … | |
Hi everyone. I need your help because the dns world is a bit dark for me right now... Here is my situation : I have a VPS and my domain name at the same host. My website work perfectly. I just like to create 3 subdomains but who all redirect … | |
With the release last week of [Groovy 1.7](http://groovy.codehaus.org/), developers using the object-oriented scripting language for Java gained access to anonymous inner classes and nested classes, annotations, SQL and other features that could simplify development when mixing Groovy code with Java. Groovy's [Eclipse community](http://groovy.codehaus.org/Eclipse+Plugin) yesterday released Groovy-Eclipse 2.0.0, a nearly rewritten … | |
Hi to reader, i used all the tricks. but every time failed. Let i tell u what i have and what i want. i have a website. [url]http://www.directorylistforseo.com[/url] and in this website some ulrs are exist Like a) [url]http://www.directorylistforseo.com/search.php?id=93[/url] b) [url]http://www.directorylistforseo.com/search.php?subcat=110[/url] and i want convert in into a) [url]http://www.directorylistforseo.com/search/id/93[/url] b) … | |
Hi, I have this main folder (with some sub folders and files) in my ubuntu. [CODE]/var/www/asg[/CODE] When I run this [inlinecode]http://localhost/asg/index.php[/inlinecode]in browser, I get this error. [CODE]Forbidden You don't have permission to access /asg/index.php on this server. Apache/2.2.12 (Ubuntu) Server at localhost Port 80[/CODE] This is what i do but … | |
Hi all, After moving my PHP-code from a Windows Server to a Linux one I have problems with the $_SESSION variables. When I login an click a menu option, all my $_SESSION variables get cleared and I have to login again. Does anyone recognize this problem and have a solution … | |
Thanx for the before now i've got new problem here i try to run it in a localhost it worked when i've hosted the web that i created before. got : Http Status 500- org.apache.jasper.JasperException: Unable to compile class for JSP: could you tell me what are the problem that … | |
All I want to do is to design a form to collect info from users and have a php process it but I kept getting this error shouting undefine variable. Please some 1 check my code and tell me what is beyond my glimps [B]The form[/B] [CODE]<form action="process.php" method="post"> Your … | |
hey guys, would really appreciate if you could help me out. on my web server, i have created a directory, to which i want password protection. for that i have created a .htaccess file and saved it in that directory. Also, i have created a .htpasswd file and saved it … | |
[B]Please tell me how i can run jsp page in Linux Tomcate server... i found the error - [/B] org.apache.jasper.JasperException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:361) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.io.FileNotFoundException: /USERINFO.jsp org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:278) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | |
Hi, there. I'm totally new to apache and I've just got my own domain from a web domain company and I'd like to connect Apache to the domain. What should I do with that? I'm using Windows 7 and Wamp server 2.0, and also I have a DNS from the … | |
Hi guys/gals I'm having the most frustrating time trying to connect to FTP servers in order to upload files. I try to connect to a number of different FTP servers and cannot connect to any of them. I've tried connecting to the same servers using the same FTP programs on … | |
i can see many companies offering linux servers with unlimited space and unlimited bandwidth for a very lower price is this true, I still wonder there is no hard disk in the world which has unlimited space how come they offer unlimited hosting space anyone here knows about this subject … | |
While companies worldwide look for ways to reduce costs, shed dead weight from their labor resources and streamline their businesses, it makes me wonder if Linux will survive the global economic meltdown. Oh, I know it will survive in terms of us geeks who use it and tout its goodness. … | |
This works: -----------PrintInfo.php <?php phpinfo(); ?> -------------------------- But this doesn't: -------------PrintInfo.html <html> <head> <title> Hello World </title> </head> <body> <?php echo 'This is my first PHP web page.'; ?> </body> </html> ------------------------- I'm using Apache 2.0 on WinXP Home with php 5. Thanks! ![]() | |
i asked some one a question about the database i am using and this is the answers i got.. Apache needs write permission for /home/httpd/vhosts/knowittv.com/mason Just set it up and you should be good to go. i dont understand what this means or how to do this... any thoughts? | |
I have a very simple shell script to stop the Apache server: [code] #!/bin/bash sudo /usr/sbin/httpd -k stop [/code] I named it "StopApache.sh". When I run it from the command line, it stops Apache. However, when I double click the "StopApache.sh" icon on the Desktop, I'm asked whether I want … |
The End.