1,520 Topics

Member Avatar for
Member Avatar for João_5

Hello guys, now that i have all my scripts up and running i need some help configuring virtualhosts on Apache/Xampp/Win7 The Httpd-vhosts.conf like this: <VirtualHost *:80> ServerAdmin joao.dias@centralcervejas.pt DocumentRoot "C:/xampp/htdocs" ServerName kadar ServerAlias www.kadar <Directory "C:/xampp/htdocs/" > Options Indexes FollowSymLinks ExecCGI Includes Order allow,deny Allow from all </Directory> </VirtualHost> The …

Member Avatar for pritaeas
0
170
Member Avatar for ditty

Hi htaccess is not working in godaddy hosting. but it is working in other servers. Please help me to solve this. Thank you

Member Avatar for mybids
0
170
Member Avatar for dany12

Hy my apache2.4.6 is not reading htaccess files My 000-default.conf file is <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # …

Member Avatar for dany12
0
3K
Member Avatar for joshl_1995

Hello Community, I was wondering if it is possible to use an ID ($_GET) after a file in the address bar so it would look like this http://example.com/file.php/ID_HERE Instead of http://example.com/file.php?id=ID_HERE I know there is a way of doing something like that but I'm only getting it to work on …

Member Avatar for joshl_1995
0
475
Member Avatar for prince.sayeed1381

This is my html. When I put name and press ENTER , browser opening download box for report.php . I don't know how to fix that. I have Apache MySQL started. Windows 8. <form action="report.php" method="post"> <label for="Your Name">Your Name</label> <input type="text" id="firstname" name="firstname"><br> </form> this is report.php <?php $first_name …

Member Avatar for prince.sayeed1381
0
294
Member Avatar for Victorabm

hi Friends...! i have add the following to my httpd.conf file as like this LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php #configure the path to php.ini PHPIniDir "C:/php/" even though i got a error message like this...! httpd.exe:syntax error on line 130 of c:Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf : cannot load c:/php/php5apache2_2.dll …

Member Avatar for Tpojka
0
370
Member Avatar for simplypixie

This is driving me insane - I have certain links that are re-written on a site that work perfectly fine (and I am not new to re-wring urls) but have just found that some others aren't and I cannot fathom out why. What works: // The link <a href="/shop/<?php echo …

Member Avatar for simplypixie
0
267
Member Avatar for dshiells

Hi, When logged into my Amazon EC2 instances as user ec2-user, I cannot edit/delete files in my web root folder. All files are owned by apache:apache, and I have added ec2-user to the apache group. What am I missing? To sum up: [ec2-user@xxx ~]$ groups ec2-user ec2-user : ec2-user wheel …

Member Avatar for CimmerianX
0
224
Member Avatar for jamiecarmichael101

I am trying to update my WAMP install to the latest versions of PHP and Apache. The links on the WAMP homepage are not up date php or apache wise so I am downloading and installing manually. I have successfully downloaded and installed the latest version of php (5.3.17) I …

Member Avatar for jamiecarmichael101
0
1K
Member Avatar for mutago

can apache server be able to access php files saved outside docroot what if the person just guest the directory link and bypass index.php files residing on public_html eg https://example.com/i have seen it/steal.php won't it execute. I think we need to tell apache not to load directory /web outside root …

Member Avatar for paulkd
0
329
Member Avatar for fheppell

I have a problem with one of my php scripts. I've got a file called view.php. If I go to test.com/view?id=7575 it comes up with a 404 error. However if I go to test.com/view.php?id=7575 it works. Why is this?

Member Avatar for gogs85
0
204
Member Avatar for vibhaJ

I have mobile web services written in PHP. Ant it is running on Apache Linux. Suddenly since yesterday our server became too slow. We found the reason that there are many continuous connection is coming to our server. Which is engaging bandwidth and making server slow. We have asked hosting …

Member Avatar for vibhaJ
0
194
Member Avatar for Siberian

I've run into a problem with my HTACCESS file. If I comment out this line; RewriteRule . <URL> [L] I get an error a 403 error. If I don't comment it out, I'll get this error from firefox; *The page isn't redirecting properly*

Member Avatar for Siberian
0
197
Member Avatar for toldav

Any one can give a hand figure it out were is my errror in my clean url. This code is on my vhost and it's not working as I expected. I have try to rewrite the code and put in .htaccess file and still is not working. RewriteEngine On RewriteCond …

Member Avatar for minitauros
0
292
Member Avatar for amit.chaudhari.71

i have download php 5.3.27 windows installer from php.net then i download apache 2.4.4 windows installer from apache site. now i have successfuly installed apache 2.4.4. to check this i have write` http://localhost/` on the address bar and the out put is "its work". now the step to install php …

Member Avatar for veedeoo
0
6K
Member Avatar for devianleong
Member Avatar for pritaeas
0
143
Member Avatar for xxmp

I am using apache james 3 and when i am trying to send a e-mail although it seems that i send the e-mail i have this error at apache james: INFO 00:51:21,527 | james.smtpserver | Id='882742847' User='' Connection established from 127.0.0.1 INFO 00:51:21,608 | james.smtpserver | Id='882742847' User='' Successfully spooled …

Member Avatar for JorgeM
0
331
Member Avatar for 1baga

i have a problem with this website after i added this piece of code to the .htaccess file #Rewrite .php to .html RewriteEngine on RewriteBase / RewriteCond %{THE_REQUEST} (.*)\.php RewriteRule ^(.*)\.php $1.html [R=301,L] the code was suppose to rewrite all the name of my pages that ends with .php to …

Member Avatar for diafol
0
231
Member Avatar for everton.retweets

Hi Everyone. I have the follwing htaccess file working just great. Basically it rewrites .php to .html and also rewrites none www. urls to www. My question is how can is remove a directory from the .php to .html rewrite rule? My pages are correctly being rewritten to .html files, …

Member Avatar for everton.retweets
0
255
Member Avatar for cgull

Hello, I need help with htaccess and a sub domain. I have a site I developed with ci 2.1.3 My folders structure is: c:\sites\mysite c:\sites\mysite\application c:\sites\mysite\system c:\sites\mysite\public_html\index.php c:\sites\mysite\public_html\assets In the public_html folder I have the htaccess file: RewriteEngine On RewriteCond $1 !^(index\.php|assets|images|robots\.txt|captcha) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ …

Member Avatar for cereal
0
723
Member Avatar for NardCake

Hello! So I decided I wanted to try some CGI... and it's not working out well at the moment, any help would be greatly appreciated! So essentially in my 000-default virtual host config file I have this: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/apott/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> …

Member Avatar for NardCake
0
2K
Member Avatar for ronaldpaul

Hi, In Virtual Box I've installed Fedora 17 and setup LAMP development environment. I've set the static ip to access the localhost and the applicaions/projects. Now I would like to configure it as to access them using the static IP from the host machine (Windows 7 OS). How can I …

Member Avatar for CimmerianX
0
278
Member Avatar for xxmp

Hello When i am trying to build the apache-james-2.3.2 i have this problem Buildfile: build.xml /Users/xxmp/Desktop/James%20Project/apache-james-2.3.2/check-targets.ent could not be found setup-dependencies: javamail-check: activation-check: check-dependencies: prepare-common: Preparing code prepare-phoenix: Phoenix distribution present - adjusting linefeeds and permissions, copying files prepare-mxinfo: Writing Info descriptors as legacy xml. prepare-metainf: prepare: compile-main: Compiling James …

Member Avatar for xxmp
0
160
Member Avatar for 68thorby68

I have an issue with `$_SESSION` global across a single domian, on my local machine, running PHP 5.1 build 2600 I'm creating a session in the domain root. $first_name='martin'; $second_name='thorburn'; $login_array=array("first_namet"=>$first, "second_name"=>$second); $_SESSION['login']=$login_array; When I run `print_r($_SESSION['login']);` in the root, I get the expected response "Array ( [first_name] => martin …

Member Avatar for 68thorby68
0
391
Member Avatar for Rizi004

hi there i have a website develop in codeigniter framework i have upload the website in subdomain but the the problem with url rewrite. the website home page works fine oes.techpawer.com but when i open the login page or any other page it will not work like to open login …

Member Avatar for LastMitch
0
3K
Member Avatar for ravinder yadav

i want to know whether can i configure visual studio web developer 2010 express edition to work with apache web server instead of ISS?

Member Avatar for ravinder yadav
0
2K
Member Avatar for SureEM25

hello ive been trying to get my .htaccess file working but nothings doing the trick. here is the code that i am using. RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php

Member Avatar for SureEM25
0
163
Member Avatar for ing

Hello. I'm trying to set up a private section of my website for testing and I'm having a problem where my .htaccess / .htpasswd protection always rejects my password. I've set permissions to 604 on both files as recommended by my web host and both files reside in the same …

Member Avatar for cereal
0
411
Member Avatar for sash_kp

While i try to access the .htaccess file its saying access forbidden,which is obvious. But the listing of all other files also getting displayed,i.e no restrictions are imposed on those files which are under the same directory as the .htaccess. However i want to restrict everyone but myself from those …

Member Avatar for cereal
0
275
Member Avatar for Tinnin

Hi all, I am running through the book "PHP Advanced and Object Oriented Programming" by Larry Ullman and I am currently trying to use a mod_rewrite to change my GETs to look like standard URLs. I am running the site on my localhost. My .htaccess file is being read (tested …

Member Avatar for Tinnin
0
225

The End.