3,436 Topics

Member Avatar for
Member Avatar for invisal

I have been using Shared Hosting for a while. Recently, my website is getting bigger and Shared Hosting is not very reliable in term of speed. So I decided to bought a Windows Virtual Dedicated Server from GoDaddy. [B]This Virtual Dedicated Server will only be used to host one website …

Member Avatar for lasitha2005d
0
195
Member Avatar for riseguim

Hi, I am rebuilding a new website for a company and they already have a .htaccess file with the following code in it: [CODE]RewriteEngine on RewriteCond %{REQUEST_URI} !(/liens_photos/20091111|images/olympique07/) [NC] RewriteRule (.*)\.html? /$1\.php [L][/CODE] Unfortunately I am very new with this and I want to know what this code does exactly... …

Member Avatar for almostbob
0
151
Member Avatar for DILO3D

Can anyone tell me, How can i restart the apache server through php code? if i view a specific page,my apache server should be automatically restart. How can i perform this? Anybody Please help me.

Member Avatar for Pro2000
0
254
Member Avatar for joomlaoscommerc

i am using windows 7, here i am facing 2 major problem, 1st one: is permission problem, in my office i used Ubuntu, when i do any project with PHP in Ubuntu, do setup the projects in my personal PC in windows 7, bringing the backup through pendrive , i …

0
174
Member Avatar for mixplates

how YOU HELP ON MY QUESTION [COLOR="Red"][B][U]What is 'inode'?[/U][/B][/COLOR]

Member Avatar for JasonHippy
0
60
Member Avatar for nquadr

Hi I am new to .jsp programming. I wanted to create a simple web page to display some information from an access database, but unfortunately I keep getting an error that no data is found. I created a DSN source through the ODBC tool in Windows, and I feel I …

0
64
Member Avatar for yli

hi there. i have this rule on my .htacces... it works but give me errors in errors_log. [CODE] RewriteRule ^([0-9]+)-([^\/]+)/article.html$ article.php?id=$1 [nc,qsa] [/CODE] so ... the url is localhost/8000-article-title/article.html and it work. goes to the right article but the error_log show me [CODE][Tue Jul 12 14:18:14 2011] [error] [client xxx.xxx.xxx.x] …

Member Avatar for mixplates
0
98
Member Avatar for dzen

I have follwed the tutorial on [I]JSP database connectivity according to Model View Controller (MVC) Model 2[/I] for login servlet. I use ServletConfig servlet and init- parameters from web.xml according to the tutorial. I am using Netbeans IDE. Bu I receive this exception whan I try to use login form. …

Member Avatar for peter_budo
0
561
Member Avatar for ankit.pandey3

Hi friends.... I want to execute my first servlet but i am not able. I am going to explain what steps I did. 1-First I copy "Servlet-api.jar" from lib folder in tomcat and paste it in ext folder of java. 2- Create HelloWorld.java in somewhere in my hard drive [CODE]import …

Member Avatar for mynameissiva
0
357
Member Avatar for JukesK

Im in need of big help... (sorry bout the size of the post :$) Im just getting started in databases and need some magic.... Im running on the server; * Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 * MySQL client version: mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $ * …

Member Avatar for d5e5
0
179
Member Avatar for Ajuddy

i dont why i can't access my servlets. i have followed the configuration to the end but still cant get through. the following are my .xml files. well i dont have a problem accessing the server, but the problem is my servlets wont run i keep getting "the requested resource …

Member Avatar for Ajuddy
0
637
Member Avatar for akshayinbox

Hello. My PC (Windows 7) on which WAMP Server (PHP + mySQL + Apache) is installed is connected to a WiFi router which is further connected to a DSL Modem (for broadband access). I've fully functional WAMP that I can access via 127.0.0.1 , localhost, 192.168.2.2 (IP assigned by my …

Member Avatar for c-tech
0
303
Member Avatar for gbatemper

My text game is a survival text game where you try to survive, and you can do a certain number of actions per day, and you can attack other tribes, etc. I wanted to include a weather system, where the Weather I want to implement Drought - Decreases Water Supply …

Member Avatar for JamesCherrill
0
175
Member Avatar for webdi

Hi, I've not been successful looking for a solution to my problem. What I need is to password protect a directory. I could use htaccess, but the user doesn't want a pop-up login window. He wants to start on a page with a form with the username and password fields. …

Member Avatar for Stefano Mtangoo
0
203
Member Avatar for happygeek

On the 11th September a customer of the [URL="http://www.pcworld.co.uk"]PC World[/URL] computer superstore in Colliers Wood, London took his laptop back for an under warranty repair. The computer was only a few months old, and a crack had appeared near the left hinge which is indicative of an internal joint failing. …

Member Avatar for dews
0
927
Member Avatar for akshayinbox

Hello. I wish to setup a WAMP/Apache Server on a single Computer (server) and various touch-panels connected to this 1 server (Intranet). [i.e. all touch panels having a site [url]http://xxx.xxx.xxx.xxx[/url] (Server's IP) loaded/used on browser] I was wondering is their a way to determine a server's peak bandwidth? Say, if …

Member Avatar for lasitha2005d
-1
227
Member Avatar for smoothe19

Well as the noob that I am in this category this is literally my first JSP tutorial program I am almost done but got these two errors.. [CODE]org.apache.jasper.JasperException: file:C:/Documents and Settings/sa456p/My Documents/NetBeansProjects/IFPWAFCAD/build/web/index.jsp(6,60) PWC6188: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this …

Member Avatar for peter_budo
0
277
Member Avatar for tape enterprise

I am having problems with PHP I had to reinstall apache and php and MySQL and this code worked great but now that I reinstalled its giving me this error Notice: Undefined variable: out in G:\file server\SERVER\server\admin\index.php on line 51 [CODE] $title = $_POST['title']; $post = addslashes($_POST['text']); function nl2p($str) { …

Member Avatar for MooGeek
0
96
Member Avatar for petzoldt01

Decided I want to use python for web programming. I am a fan of Lighttpd, but when it came to python, just seemed like apache had some better options. I am currently setup with Apache2 and mod_python. I use VirtualHost site configurations to serve a few websites, and do per-site …

0
73
Member Avatar for jrotunda85

I am in the process of trying to customize my site's URLs and I'm running into an issue with my htaccess file, specifically the newest one I am trying to add. Here's the file -- [CODE]RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1.php [L,QSA] RewriteRule ^/retail/(.*)$ retail.php?id=$1[/CODE] …

0
141
Member Avatar for ganeshrnet

I'm looking for a good vanity url for my website... i wish to have the following type of url for my website:- [B][url]http://www.myweb.com/topic_name/123[/url][/B] where the original query string is [B][url]http://www.myweb.com/topics.php?title=topic_name&id=123[/url][/B] I tried to get the scripting from many websites, but none gave me want I wanted... So i've approached daniweb. …

Member Avatar for diafol
0
155
Member Avatar for Geertc

Hello, I have installed a site locally (apache 2.2) and I am now adjusting the settings. I have set my include_path like this : [CODE]set_include_path(get_include_path() . PATH_SEPARATOR . PATH_LIBRARY);[/CODE] When I try to include files from directory beneath the include_path, I get a fatal error, and I get the include_path …

Member Avatar for Geertc
0
94
Member Avatar for jrotunda85

I've been having a reoccurring issue with my VPS since I moved to a new company and I'm trying to figure out what the issue is. There are a few different things going on (I believe they are all connected) -- [LIST=1] [*]When you visit a page that doesn't exist, …

Member Avatar for jrotunda85
0
288
Member Avatar for cwarn23

Hi, I'm trying to add a condition to my htaccess file but it seems to only match if I use [ICODE]%{REQUEST_URI} !^/?.+$[/ICODE]. If however I add [ICODE]%{REQUEST_URI} !^/?B.+$[/ICODE] it will never match. Also the full code showing what I am trying to achieve is as follows: [CODE][B]RewriteEngine On[/B] [B]RewriteRule[/B] ^$ …

Member Avatar for kingkong111411
0
217
Member Avatar for Sadun89

This is actually not related to jsp.... Its related to the Apache tomcat server..... :icon_rolleyes: I run the startup.bat file where is located in bin folder.. than tomcat was started...it use 8080 port ([url]http://localhost:8080):icon_lol:[/url] after that I created the jsp page using netbeans & rut it.tomcat was started & run..... …

Member Avatar for Sadun89
0
215
Member Avatar for jrotunda85

I’ve created a dynamic page ([I]page.php[/I]) who’s content changes based on the incoming link, specifically by calling a GET on the ID in the URL. So, for example, someone visits [I][url]www.domain.com/page.php?id=310[/url][/I] and the content on the page changes queries the database and returns results for item 310. I’m in the …

Member Avatar for matricol
0
138
Member Avatar for kleinsteve

I have a php script to process a web form and email the contents. It processes everything except the subject line correctly: [CODE]$emailSubject = 'Work Order: ' | $_POST['company'] ;[/CODE] i don't get any syntax errors, but the email displays the subject as a mismatch of letters and numbers? like …

Member Avatar for Insensus
0
93
Member Avatar for geekme

I'm working on ubuntu 10.10 , n have installed php5 and apache 2 but when I try to open a .php file by giving the complete url in the browser it pops up the window( refer thumbnail).Please help.I'm a beginner and I'm stuck on this god knows since when.

Member Avatar for JasonHippy
0
590
Member Avatar for didi00

Hi everyone. So I'm trying to make a thumbnails for the products from my shopping cart. A script wa suggested to me which is this: [url]http://shiftingpixel.com/2008/03/03/smart-image-resizer/[/url] Which looks simple and nice. The problem is this: When I merge the script and my code together I get this (the file is …

Member Avatar for didi00
0
522
Member Avatar for geekme

Have downloaded apache 2 in ubuntu 10.10 through terminal screen and also php5 but when I type the server address in the browser, it asks for a username and password .I tried giving the login username and password( the one with which I created my ubuntu login) but that wont …

Member Avatar for JasonHippy
0
194
Member Avatar for coervivekmca

i have stuck in a small prob but this is big for me.... i need to upload emp image with emp imformation ...txtvalue should be saved in data base and image should be save in directory ....having path name in db. i dnt knw how to use enctype=mutlpart [code] <%@page …

0
75
Member Avatar for aithabuddy

Hi, Can any one helps me in the apache redirecion of 'http://www.xyz.com/abc/function.mysql-select-db/dfg' to 'http://www.xyz.com/abc/dfg', and 'http://www.xyz.com/abc/function.mysql-connect/dfg' to 'http://www.xyz.com/abc/dfg'. I want a single rule for the both redirections. Thanks in advance.

Member Avatar for twiss
0
54
Member Avatar for daza166

Hi guys, Having a problem with users uploading photos onto my site. They can upload 6 images under 5MB. The memory setting is set to 128M in my php.ini and I doubled checked by phpinfo() [CODE]upload_max_filesize = 30M ;5MBlimit*6images=30MB post_max_size = 30M max_execution_time = 120 max_file_uploads = 7 memory_limit=128M[/CODE] However …

Member Avatar for digital-ether
0
18K
Member Avatar for haimz

hello evryone, i'm changin the url by [CODE]RewriteEngine on RewriteRule ^forum-(.*).html$ ./forum.php?id=$1[/CODE] now if the url is forum.php?id=231, how can i auto change the url to forum-231.html thanks, haim .

Member Avatar for haimz
0
369
Member Avatar for klemme

Hi all, I am posting this thread to learn a bit of how mod_rewrite works. I want to specificly learn to make dynamic urls from websites, become seo friendly: [B]MADE UP LINK, DONT FOLLOW[/B] [url]www.sitename.php/index.php?sid=2&pid=231[/url] [B]MADE UP LINK, DONT FOLLOW[/B] look like: [url]www.sitename/furnitures/sofas[/url] And learn how to prevent duplicate content …

Member Avatar for madCoder
0
191
Member Avatar for ajbest

You will have to excuse if this question seems stupid but while I am a fairly skilled PHP developer I am a total newb when is comes to apache and server config. I am trying to have a single page accept all the request for directories on my site unless …

0
125
Member Avatar for sathyanshan

Hi all, I am doing a small project which needs Tab control in JSF page.. so i went for MyFaces Tomahawk. While using it I experience a different error. While using components like Input Calendar, Input date etc, Its working Fine.. But while using TabbedPane It throws me an excpetion …

Member Avatar for sathyanshan
0
459
Member Avatar for happygeek

A specialist mobile software management company, [URL="http://www.redbend.com"]Red Bend Software[/URL], has today announced what it claims to be the first Linux based mobile phone complete with fully over the air customizable software. The breakthrough has been made possible by partnerships with companies such as Digital Airways, Opera, Synchronica, Trolltech and Zi, …

Member Avatar for madihaghafoor
0
459
Member Avatar for mi.mac.rules

I'm trying to startup my Ubuntu Apache install and there's a problem loading LDAP modules that I can't seem to resolve: [QUOTE]httpd: Syntax error on line 65 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2.2/modules/mod_authnz_ldap.so into server: /usr/local/apache2.2/modules/mod_authnz_ldap.so: undefined symbol: apr_ldap_url_parse [/QUOTE] Any help would be appreciated, thanks.

Member Avatar for madihaghafoor
0
888
Member Avatar for mi.mac.rules

All, I am trying to install CAS on an Ubuntu Server and the only problem seems to be installing Apache Modules. I am setting this up to be (almost) exactly like a Solaris server we have currently up and running, but I can't seem to figure out how to install …

Member Avatar for mi.mac.rules
1
1K
Member Avatar for yatin.baraiya

Hello all, following is my jsp file names register.jsp [CODE] <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts-tags" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Registration Process Form</title> </head> <body> <s:form action="registeraction" method="post"> <s:label name="formName" value="Employee Registration Form........"/> <s:textfield name="username" …

0
95
Member Avatar for winecoding

I am learning to use mahout by starting with a example copied from the book. However, the eclipse compiler gives me the following message: [QUOTE]Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.mahout.cf.taste.impl.model.file.FileDataModel.<clinit>(FileDataModel.java:119) at mia.recommender.ch02.RecommenderIntro.main(RecommenderIntro.java:18) Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at …

Member Avatar for thekashyap
0
204
Member Avatar for kartisathis

hi Friends, Hi, I know that it must be done via /usr/bin/sa-update, but what should I take care of when doing this? and where are located the rules in use.

0
108
Member Avatar for kartisathis

hi frndz... i m new to linux i need to config sendmail MTA and i hav to use procmail as filter and cyrus as LDA... plz help me guys ... i need a sendmail config file for the above mentioned options ....

Member Avatar for kartisathis
0
256
Member Avatar for shamusk

Hi everyone, I am new to java enterprise edition and used Eclipse previously. I need to integrate apache maven with my eclipse. I saw a few tutorials like the one [url]http://www.eclipse.org/m2e/[/url] , and i tried to follow it but i could find the other option in the import dialogue. I …

Member Avatar for peter_budo
0
276
Member Avatar for khaled_jawaher

hi,i am using haxws to build webservice in java that returns an object not a primitive type.when return primitive type every thing is going well, the error that i am receiving is: [ERROR] javax.xml.bind.JAXBException: class endpoint.data nor any of its super class is known to this context. org.apache.axis2.AxisFault: javax.xml.bind.JAXBException: class …

0
79
Member Avatar for kartisathis

Dear all, When I try to configure mail filtering through spamassassin to sendmail mail server via spamass-milter, spamass-milter's README file says to put following lines to the sendmail.mc file and generate the sendmail.cf file using macro, [CODE]INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/sendmail/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, …

0
69
Member Avatar for newsguy

I stumbled across an interesting interview with Linus Torvalds over at [URL="http://apcmag.com/7012/linus_torvalds_talks_about"]apcmag.com[/URL] in which the man himself would appear to be confirming that there will be no Linux kernel 3.0 The first hints are given when he responds to a question concerning why the 2.6 kernel has been around for …

Member Avatar for Tellalca
0
622
Member Avatar for ivan3510

Hi! I have htaccess file with this: [CODE] deny from all [/CODE] When I open the directory, access is forbidden! But when I open some file, it doesn't work. Can somebody help me?

Member Avatar for ivan3510
0
95
Member Avatar for Todx

I'm having problems with .htaccess rewrite rule. I want to convert: [QUOTE][url]http://www.domain.com/?d=SOME_STRING[/url][/QUOTE] To: [QUOTE][url]http://www.domain.com/download.php?file=SOME_SRING[/url][/QUOTE] So far I've some up with this: [CODE]Options +FollowSymlinks RewriteEngine on RewriteRule @|\?d=(.+)$ download.php?file=$1[/CODE] Anyone have an idea on why this isn't working? *mod rewrite is enabled*

Member Avatar for vibhaJ
0
100

The End.