Apache :: Using SessionMaxAge Without Setting Max-Age In Cookies?
Dec 5, 2013
I am using apache 2.4, mod_auth_form and mod_session with cookie based sessions. I would like my sessions to expire after 15 minutes of inactivity - so I set
SessionMaxAge 900
However, I also need my sessions to expire when the user closes the browser. Unfortunately, the cookie header sent looks like
Set-Cookie: session=Private-user=someUser&Private-pw=thePassword&expiry=1386227882551049;Max-Age=900;path=/;HttpOnly
I have temporarily turned off SessionCryptoPassphrase for debugging.
The problem is the "Max-Age=900". This makes the cookie persistent in the browser, so that even if the browser is closed, the session will still be valid if a new browser session is started within 15 minutes.
Can I avoid the "Max-Age=900"?
Or should I use mod_headers to rewrite the set-cookie header?
View 5 Replies
ADVERTISEMENT
Jun 19, 2008
i m using wampserver5, i want to use this as my database handling tools.
> if you can help me on how to get this connected to adobecs3 to setup login session, card validation site and so on
View 4 Replies
View Related
Oct 20, 2007
i have problem with cockies
i use vbulletin forum on vps
in my vbulletin forum ,the forum request password every time
from members
ie: we cant Retention cockies
even in admin control panel
i wrote the password for 10 times in 15 min interval
which is bad thing
View 8 Replies
View Related
Apr 24, 2008
server notice : kernel: possible SYN flooding on port 110. Sending cookies. and down.
how to disable flood on port 110, flood port 443!
EX : disable telnet on port : 21,445,110,53
how to disable telnet on port 21,445,110, with cmd (telnet ip(host) port)
View 2 Replies
View Related
Jul 14, 2008
I have read apache docs.
I have entered document root:
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
DocumentRoot "C:/operator1/oex-onmedias/primary"
So now apparently, when I type "myurl" in my browser, it would display C:/operator1/oex-onmedias/primary/index.html, but it does not work! Why?
Another question, how would I then be able to browse my actual website on my web host after I have uploaded it to my online server if the url is the same? it would only take me to the local server.
Last question, how would I set up multiple local websites on apache? Do I need to do a new apache install for each website? Or if not, how do I divide doc-root urls and domains of multiple sites in my config file?
View 5 Replies
View Related
Mar 25, 2007
I'm trying to setup a subdomain, and this is what i've added in httpd.conf
<VirtualHost 000.000.000.000>
ServerName dir.domain.com
DocumentRoot /home/domain/html/dir/
</VirtualHost>
Am i missing something here? I restarted httpd when finished.. but it doesnt work.
View 3 Replies
View Related
Apr 6, 2015
I'm currently in the process of configuring a red hat linux server as a proxy server for a number of back end web servers. I set up reverse proxying to hide the web server url's, but I've run into a problem with the second web server, because some of the directory structures are identical on both servers.
View 2 Replies
View Related
Oct 30, 2014
This is just an internal server setup to learn web programming and looking to create a environment close as possible to the real world setup. I'm using xxxx.dlinkddns.com
View 1 Replies
View Related
Feb 21, 2015
I am just trying to understand what I am doing wrong when I try to set up a second server with LAMP. I already have a working server with LAMP but i didn't set that one up. Now I am trying to add additional machine and I am trying to figure out what else do i have to do so the machine will work as virtual server for my webpage(s).
Like I said, on a new server i already installed Lamp, forwarded ports 80, 22, 442 ....to correct LAN IP, and added an entry under apache2 sites-available like this:
"<VirtualHost *:80>
ServerName test.com
ServerAlias www.test.com
ServerAdmin info@test.com
DocumentRoot /media/BigBoy/www/test
ErrorLog ${APACHE_LOG_DIR}/test_error.log
CustomLog ${APACHE_LOG_DIR}/test_access.log combined
</VirtualHost>"
Than i connected a new domain to my main IP but it automaticly connects to the old server that is already running in my home network. So the question is what do i have to do, for my new server to run the webpages i want to? Do i have to add a specific command on old server or something else i forgot?
View 1 Replies
View Related
Jan 3, 2007
How would you install suPHP on a cpanel server
goto [url] for more information
View 3 Replies
View Related
Mar 30, 2014
I'm trying to set up a login script on twenty subdomains that will be checked on another subdomain. I've found this example for different domains and figure it should be simple enough to utilise but my ereg is crappy
<IfModule mod_headers.c>SetEnvIf Origin "http(s)?://(www.)?(domain1.com|domain2.com)$" AccessControlAllowOrigin=$0$1Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin</IfModule>
View 4 Replies
View Related
Mar 15, 2013
I work for a start up as well as do independent consulting. I had a friend set up my apache server initially for the start up. It's been running fine. Now I want to host a client's site on the same server. I tired just adding a vhost section at the bottom of the conf file, but it said that I was running two sites off the same port. I tried manipulating the stuff my buddy did for me for the first site, then putting two vhosts on the bottom, but that just didn't work.
View 5 Replies
View Related
Oct 21, 2012
I'm kinda new to apache and I have the following situation.
I have a vps, on which I have set the following:
WordPress Site A, has it's own VirtualHost and domain
WordPress Site B, has it's own VirtualHost and domain
Canvas LMS (not connected to a domain).
Canvas LMS can add multiple accounts, which may (or may not) be accessed individually using a URL that looks as follows:
{canvas_root}/accounts/{account_id}/
For example : http://....../accounts/4/
I need to add a link to each of WP sites, which points to each site's account on Canvas, such that it appears as .../learning/ folder
For example:
Code:
http://WPSiteA/learning/
http://WPSiteB/learning/
which actually represents
Code:
http://WPSiteA/accounts/4/
http://WPSiteB/accounts/5/
Which in turn represents
Code:
http://{my_vps_ip}/accounts/4/
http://{my_vps_ip}/accounts/5/
respectively
Noticing the following:
I do not want the users to see the /account/4/ , just /learning/
I also want to prevent accessing
Canvas LMS is located beyond the website's DocumentRoot
I want this to work with both HTTP and HTTPS
View 3 Replies
View Related
Jan 26, 2013
*My computer is a computer of a 500 computers network within our company.
* i have been given a STATIC local intranet ip 192.168.10.168 assigned by our IT department via their router.
* i have the internet facility provided through the above mentioned intranet for which i get a dynamic ip ex: 188.54.208.205, 176.44.107.21
* i have installed WAMP server.
my current project for the company i am doing should be able to access via internet in addition to the local access. local access is the primary access method. so now i have installed a free dns service like dyndns. at the setup of that, i have choosen a free subdomain ex: my.freedns.com they offer. then i assigned the ip ex:188.54.208.205. also installed their desktop client for monitoring ip changes auto updates.
Now the problem is : when i hit my.freedns.com the page displaying is of our internet service provider. not of my project homepage . How can i fix so when i issue above subdomain it will show my webserver default page?
View 11 Replies
View Related
Feb 25, 2014
I'm trying to accomplish two goals: First, get "Pretty Links" to work on my local Wordpress instance; second, to set up a local domain for the site.I have a fresh install of Apache 2.4.6 running, and I'll I've done is enable the rewrite and vhost_alias mods. Nevertheless, here's my apache2.conf: URL....
I need to have AllowOverride set to All. This, I gather, allows .htaccess files within the subsequent directories to alter the apache config. To try one thing at a time, I'm accessing the site from localhost/var/www/dhae/Wordpress (foregoing the domain). I tried altering the 000-default.conf to oblige this: [URL] .... -- all I added was the <Directory> section. This didn't work, and neither did changing the AllowOverride to All in the apache2.conf.
I wondered if perhaps I needed something more specific to the directory, so I tried using my second goal to accomplish this. I wrote the dhae.conf: URL....
I've also added the following line to my HOSTS file:127.0.0.1 dhae.dev
This hasn't worked either. I've tried virtual host config stuff as much as I could find, and I'm just not having any luck. What I have even came from this site (URL....).
View 7 Replies
View Related
May 31, 2014
I am trying to set up domains and subdomains, on my webserver, however the domains are resolving, but when accessing a subdomain I get a 500 internal server error, permissions on files are the same on both domain and sub domain level.
My virtual host files looks like this for domains and for the subdomains, and I am using Apache 2.4.7, on an ubuntu 14.04 running on a rackspace cloud server.
Domains:
<virtualhost *:80>
ServerAdmin mail@mail.mail
ServerName domain.com
ServerAlias www.domain.com
[Code] ....
Why it works on domains, and not the subdomains?
View 1 Replies
View Related
Apr 1, 2009
I have a linux VPS in which i believe i only have access to the WHM control panel.
How could i set up VPN so the VPS would connect through the VPN ??
Is there a way to do it through the WHM panel or i will need remote access to the linux interface?
View 13 Replies
View Related
May 22, 2009
I would like to resell VPS accounts. To be specific, windows remote desktop accounts.
I have a dedicated server, with windows 2003. How do i set this up ?
View 3 Replies
View Related
May 15, 2008
I am wondering if you can either:
1. Point me to an article you can validate as being accurate; or
2. Explain to me as much as you are willing to the following question:
How would someone setup a CDN to compete with companies like level3/softlayer/peer1 etc..? What kind of software is used? Is there special routing issues to address? I do understand you need *at least* 15-20 nodes before you can offer a "true CDN" and I do understand that they need to be in different locations on the POP's. How do you stream files over the CDN as well? Via RTMP?
[url]
View 14 Replies
View Related
Aug 1, 2007
to add a new domain name to my hosting account, when I put in the nameservers at namecheap, my new domain resolves to the wrong IP address.
When I contacted my host, they told me I need to contact namecheap and give them the IP address and my namservers names.
I have never had to do this before. Usually I just add a new domain in my WHM and everything works. Right now namecheap is using my hosting companies nameservers, when I try to switch to my name servers namecheap comes back with an error.
I added new zones in the WHM for my name servers, but nothing is working.
What do I need to do to get this working? I have one current domain name that is working and one that is not.
View 2 Replies
View Related
Apr 3, 2008
I have already one dedicated server which I use for shared hosting and for my companys site.
I have read something little about managing VPS and can say that I want to use OpenVZ for that but that's all of my knowledge.
1. Howto setup VPS box (openVZ)?
2. Do I need leave free space/resource for "management" or can I use all space/resource for clients. I have my companys site and stuff in different server (as you can read above).
3. VPS box security? Do I need to worrie about that?
4. If I want to offer multiple OS options for clients, is it possible and how that is done?
5. Is there any "VPS control panel" for clients? For reboot, shutdown, re-install OS and such actions?
6. Do I need more IPs than VEs need (one per VE).
View 10 Replies
View Related
Mar 14, 2008
I have a dedicated server (windows 2003) with FDC i am new to all this so i need some help trying to set up a ftp so i can conect to the server, how do i go about this? are there any tutorials on this? i have looked on google but no luck. Also i am in spain so is it possible to use the server as a proxy server so i can connect with my computer in Spain to the internet with a US IP?
View 2 Replies
View Related
Jul 17, 2007
I'm going to be setting up a vps Dual Core box to hold 10 vps's
I'm thinking about running virtrozzo.
ok now the thing is..
Need install help instruction on the whole setup
1 Install the OS
2 Install VPS software
3 install cpanel on each VPS running?
is this the correct way to do this?
View 2 Replies
View Related
Apr 24, 2007
I've just recieved my copy of Kevin Yanks book "build your own database driven website using php and mysql" and very excitedly installed msql and php last night. As i have IIS i installed that too. Everything so far seems to be going as plan.
But i'm only wanting to use IIS for testing. Since i'm a newbie i'm unsure on some secuity aspects. Is it possible to use IIS for testing only, that is, no possibility of anyone else using it to access my computer?
View 1 Replies
View Related
May 31, 2007
Anyone knows what is needed to setup a Virtual Private Network that allows bypassing of the local ISP throttling via encryption?
View 7 Replies
View Related
Nov 3, 2007
I initially wanted to set up a VPS because I want to build a web application. The first phase is to set up a development environment, testing environment and production server. For the development environment, I want to set up an SVN server for my code (one reason why I chose a vps instead of a shared server) as well as a bug tracking system. Each environment would be under subdomains, except the production server (development.domain.com, trac.domain.com, testing.domain.com).
My question is what is the best way to utilize my VPS for this type of environment? Should I create a client for each environment? Stick everything under my admin account? I'm sure this is a simple question, but I just want to make my system as organized as possible.
At the minimum, could someone point me in the direction of any resources?
View 5 Replies
View Related
Apr 1, 2008
My first post on here! I have just signed up with a VPS, and before I did so, i asked if IMAP was supported, and that was confirmed.
Now, when I try to get it to work, I am told by support that my current mails transport agent (mailEnable) does not support IMAP, and that I should elect not to use mailEnable and configure IMAP with the Microsoft Services.
Now, here I am lost. What do they mean, and how do i proceede Thank you for any input!
View 3 Replies
View Related
Jun 12, 2009
well got my new vps from vaserv, there support is so bloody slow..
any one give me some help on setting up my server? had problems with this before..
http://xperthost.com/ site isnt working...
says somethin about no name servers excist.. but they have been setup...
View 8 Replies
View Related
Sep 8, 2006
Just got a new dedicated box (Fedora 5/CPanel/WHM). I didn't realize I had to set up my own nameservers with it. Definitely not a subject I am well versed in. Anyone know where I can find out how to get started?
View 9 Replies
View Related