3,436 Topics

Member Avatar for
Member Avatar for tuuni

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?

0
148
Member Avatar for rachelnetzer

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 …

Member Avatar for Cragdo
0
117
Member Avatar for Altairzq

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 …

Member Avatar for Altairzq
0
1K
Member Avatar for cutesniper22

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 …

Member Avatar for ~s.o.s~
0
60
Member Avatar for killerdrummer2

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 …

Member Avatar for wkrhc4mia
0
102
Member Avatar for kylegetson

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 …

Member Avatar for kylegetson
0
228
Member Avatar for khess

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 …

Member Avatar for ripratm
0
2K
Member Avatar for khess

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 …

Member Avatar for babystrangeloop
1
2K
Member Avatar for Neerajavi

hi friend can you tell me how to create servlets and how we can deploy it on the apache web server.

Member Avatar for jwenting
0
132
Member Avatar for gteh

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 …

0
96
Member Avatar for ElieM

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 …

Member Avatar for javaAddict
0
664
Member Avatar for billybobc

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) …

Member Avatar for heathersh
0
2K
Member Avatar for guravharsha

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 …

Member Avatar for jwenting
0
113
Member Avatar for jacob22

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 …

Member Avatar for pritaeas
0
86
Member Avatar for billah_norm

my php session_destroy() function not working. php version: 4.0.3 Apache : 1.3.14 using MsSQL via ODBC thanx

Member Avatar for Stefano Mtangoo
0
133
Member Avatar for moerpheus

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 …

Member Avatar for Stefano Mtangoo
0
175
Member Avatar for whitestream6

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 …

0
69
Member Avatar for ulysnep

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 …

Member Avatar for diafol
0
133
Member Avatar for BASSUHG

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 …

Member Avatar for keerthanasunder
0
80
Member Avatar for jeepguy

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 …

Member Avatar for rch1231
0
169
Member Avatar for muusa

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 = …

Member Avatar for muusa
0
284
Member Avatar for peter_budo

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 …

Member Avatar for peter_budo
4
3K
Member Avatar for Ashwin1985

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 …

Member Avatar for peter_budo
0
2K
Member Avatar for EddieC

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 …

Member Avatar for EddieC
0
461
Member Avatar for deepakrao.tech

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; …

0
127
Member Avatar for khess

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 …

Member Avatar for khess
0
834
Member Avatar for chunkmartinez

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 …

Member Avatar for Codelines
0
102
Member Avatar for jithusdani

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 …

Member Avatar for pritaeas
0
65
Member Avatar for dangari

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" /> …

Member Avatar for dangari
0
154
Member Avatar for Stefano Mtangoo
Member Avatar for sonah

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. …

Member Avatar for sonah
0
127
Member Avatar for Gibson_Junk

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^ …

0
194
Member Avatar for khess

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 …

0
241
Member Avatar for khess

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 …

Member Avatar for SpiralBlue
2
1K
Member Avatar for MrKalten

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 …

0
45
Member Avatar for EddieC

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 …

0
198
Member Avatar for php.devesh

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) …

Member Avatar for arunss
0
164
Member Avatar for veledrom

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 …

Member Avatar for veledrom
0
120
Member Avatar for disc

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 …

Member Avatar for cwarn23
0
189
Member Avatar for stocean

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 …

Member Avatar for ~s.o.s~
0
56
Member Avatar for Bolade

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 …

Member Avatar for almostbob
0
98
Member Avatar for amish123

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 …

Member Avatar for sknake
0
185
Member Avatar for deepakraj

[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)

Member Avatar for javaAddict
0
223
Member Avatar for buranda

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 …

0
55
Member Avatar for Venom Rush

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 …

Member Avatar for landonmkelsey
0
362
Member Avatar for aboutj

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 …

0
90
Member Avatar for khess

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. …

Member Avatar for samuel_1991
0
807
Member Avatar for techhelpforme

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!

Member Avatar for diafol
0
3K
Member Avatar for danimal132

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?

Member Avatar for Simon Tite
0
190
Member Avatar for VernonDozier

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 …

Member Avatar for jolies2
0
184

The End.